Bouncy Castle Cryptography Library 1.60

org.bouncycastle.cms
Class KEKRecipientId

java.lang.Object
  |
  +--org.bouncycastle.cms.RecipientId
        |
        +--org.bouncycastle.cms.KEKRecipientId
All Implemented Interfaces:
java.lang.Cloneable, org.bouncycastle.util.Selector

public class KEKRecipientId
extends RecipientId


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()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getKeyIdentifier

public byte[] getKeyIdentifier()

clone

public java.lang.Object clone()
Overrides:
clone in class RecipientId

match

public boolean match(java.lang.Object obj)

Bouncy Castle Cryptography Library 1.60