KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

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

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