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.cms;
09:
10: import org.enhydra.oyster.exception.SMIMEException;
11: import org.enhydra.oyster.der.DEROctetString;
12:
13: /**
14: * EncryptedKey class is DER encoded Octet string represented in ASN.1 notation
15: * according to RFC2630.<BR>
16: * <BR>
17: * EncryptedKey ::= OCTET STRING<BR>
18: */
19: public class EncryptedKey extends DEROctetString {
20:
21: /**
22: * Constructs container for symmetric encryption key
23: * @param encKey0 symmetric encryption key represented as byte array.
24: * @exception SMIMEException thrown from super class constructor.
25: */
26: public EncryptedKey(byte[] encKey0) throws SMIMEException {
27: super(encKey0);
28: }
29: }
|