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: * 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: * Adds content to DER encoded Sequence object
31: * @param content0 content represented as byte array
32: * @exception SMIMEException thrown in super class constructor.
33: */
34: public void addContent(byte[] content0) throws SMIMEException {
35: super.addContent(content0);
36: }
37: }
|