Bouncy Castle Cryptography Library 1.59

org.bouncycastle.cms
Class KEKRecipientId

java.lang.Object
  extended byorg.bouncycastle.cms.RecipientId
      extended byorg.bouncycastle.cms.KEKRecipientId
All Implemented Interfaces:
java.lang.Cloneable, org.bouncycastle.util.Selector

public class KEKRecipientId
extends RecipientId


Field Summary
 
Fields inherited from class org.bouncycastle.cms.RecipientId
kek, keyAgree, keyTrans, password
 
Constructor Summary
KEKRecipientId(byte[] keyIdentifier)
          Construct a recipient ID with the key identifier of a KEK recipient.
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
           
 byte[] getKeyIdentifier()
           
 int hashCode()
           
 boolean match(java.lang.Object obj)
           
 
Methods inherited from class org.bouncycastle.cms.RecipientId
getType
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KEKRecipientId

public KEKRecipientId(byte[] keyIdentifier)
Construct a recipient ID with the key identifier of a KEK recipient.

Parameters:
keyIdentifier - a subjectKeyId
Method Detail

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)

getKeyIdentifier

public byte[] getKeyIdentifier()

clone

public java.lang.Object clone()
Specified by:
clone in interface org.bouncycastle.util.Selector
Specified by:
clone in class RecipientId

match

public boolean match(java.lang.Object obj)

Bouncy Castle Cryptography Library 1.59