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 DERSetPr has protected
17: * method addContent. Also, DERSet extends it's super class DERSetPr.
18: */
19: public class DERSet extends DERSetPr {
20:
21: /**
22: * Construction of an empty DER Set object
23: * @exception SMIMEException thrown in super class constructor.
24: */
25: public DERSet() throws SMIMEException {
26: }
27:
28: /**
29: * Adds content to DER encoded Set object
30: * @param content0 content represented as byte array
31: * @exception SMIMEException thrown in super class constructor.
32: */
33: public void addContent(byte[] content0) throws SMIMEException {
34: super.addContent(content0);
35: }
36: }
|