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: * DERSequencePr 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 public method addContent. Also, DERSequence extends it's super class
18: * DERSequencePr.
19: */
20: public class DERSequencePr extends DERObject {
21:
22: /**
23: * Construction of an empty DER Sequence object
24: * @exception SMIMEException thrown in super class constructor.
25: */
26: public DERSequencePr() throws SMIMEException {
27: super (48);
28: }
29:
30: /**
31: * Adds content to DER encoded Sequence 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: }
|