KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > oyster > der > DERSequencePr


1 /*
2  * Title: Oyster Project
3  * Description: S/MIME email sending capabilities
4  * @Author Vladimir Radisic
5  * @Version 2.1.5
6  */

7
8
9 package org.enhydra.oyster.der;
10
11 import org.enhydra.oyster.exception.SMIMEException;
12
13 /**
14  * DERSequencePr is structured type of DER encoded object representing DER
15  * encoded SEQUENCE or SEQUENCE OF tag type in ASN.1 notation. Structured type
16  * means that it is comprised from other structured and/or primitive objects.
17  * Difference bettween DERSequence and DERSequencePr is that class DERSequence
18  * has public method addContent. Also, DERSequence extends it's super class
19  * DERSequencePr.
20  */

21 public class DERSequencePr extends DERObject {
22
23 /**
24  * Construction of an empty DER Sequence object
25  * @exception SMIMEException thrown in super class constructor.
26  */

27   public DERSequencePr () throws SMIMEException
28   {
29     super(48);
30   }
31
32 /**
33  * Adds content to DER encoded Sequence object
34  * @param content0 content represented as byte array
35  * @exception SMIMEException thrown in super class constructor.
36  */

37   protected void addContent (byte[] content0) throws SMIMEException {
38     super.addContent(content0);
39   }
40 }
41
42
43
44
Popular Tags