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: * DEROctetString is primitive type of DER encoded object for representation of
14: * the octet strings (array of bytes) in ASN.1 notation.
15: */
16: public class DEROctetString extends DERObject {
17:
18: /**
19: * Creates DER encoded byte array from input byte array
20: * @param octetsString0 byte array for DER encoding
21: * @exception SMIMEException thrown in super class constructor.
22: */
23: public DEROctetString(byte[] octetsString0) throws SMIMEException {
24: super (4, octetsString0);
25: }
26: }
|