KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

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

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

35   public void addContent (byte[] content0) throws SMIMEException {
36     super.addContent(content0);
37   }
38 }
39
40
41
42
Popular Tags