01: /*
02: * Title: Oyster Project
03: * Description: S/MIME email sending capabilities
04: * @Author Vladimir Radisic
05: * @Version 2.1.5
06: */
07:
08: package org.enhydra.oyster.der;
09:
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: super (49);
27: }
28:
29: /**
30: * Adds content to DER encoded Set object
31: * @param content0 content represented as byte array
32: * @exception SMIMEException thrown in super class constructor.
33: */
34: protected void addContent(byte[] content0) throws SMIMEException {
35: super.addContent(content0);
36: }
37: }
|