Enhydra-Oyster 2.1-7 API

org.enhydra.oyster.cms
Class EncryptedKey

java.lang.Object
  extended byorg.enhydra.oyster.der.DERObject
      extended byorg.enhydra.oyster.der.DEROctetString
          extended byorg.enhydra.oyster.cms.EncryptedKey

public class EncryptedKey
extends DEROctetString

EncryptedKey class is DER encoded Octet string represented in ASN.1 notation according to RFC2630.

EncryptedKey ::= OCTET STRING


Constructor Summary
EncryptedKey(byte[] encKey0)
          Constructs container for symmetric encryption key
 
Methods inherited from class org.enhydra.oyster.der.DERObject
getContentOctets, getContentPartSize, getDEREncoded, getIdentifierOctet, getLengthOctets, getLengthPartSize, getTagClassType, getTagComplexity, getTagTypeNumber, getTotalSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptedKey

public EncryptedKey(byte[] encKey0)
             throws SMIMEException
Constructs container for symmetric encryption key

Parameters:
encKey0 - symmetric encryption key represented as byte array.
Throws:
SMIMEException - thrown from super class constructor.

Enhydra-Oyster 2.1-7 API