KickJava   Java API By Example, From Geeks To Geeks.

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


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  * DERSet is structured type of DER encoded object representing DER
14  * encoded SET or SET OF tag type in ASN.1 notation. Structured type means
15  * that it is comprised from other structured and/or primitive objects.
16  * Difference bettween DERSet and DERSetPr is that class DERSet has public
17  * method addContent. Also, DERSet extends it's super class DERSetPr.
18  */

19 public class DERSetPr extends DERObject {
20
21 /**
22  * Construction of an empty DER Set object
23  * @exception SMIMEException thrown in super class constructor.
24  */

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

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