KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > oyster > cms > EncryptedKey


1 /*
2  * Title: Oyster Project
3  * Description: S/MIME email sending capabilities
4  * @Author Vladimir Radisic
5  * @Version 2.1.5
6  */

7
8
9 package org.enhydra.oyster.cms;
10
11 import org.enhydra.oyster.exception.SMIMEException;
12 import org.enhydra.oyster.der.DEROctetString;
13
14
15 /**
16  * EncryptedKey class is DER encoded Octet string represented in ASN.1 notation
17  * according to RFC2630.<BR>
18  * <BR>
19  * EncryptedKey ::= OCTET STRING<BR>
20  */

21 public class EncryptedKey extends DEROctetString {
22
23 /**
24  * Constructs container for symmetric encryption key
25  * @param encKey0 symmetric encryption key represented as byte array.
26  * @exception SMIMEException thrown from super class constructor.
27  */

28   public EncryptedKey (byte[] encKey0) throws SMIMEException
29   {
30     super(encKey0);
31   }
32 }
33
34
35
36
Popular Tags