public class KEKRecipientId extends RecipientId
kek, keyAgree, keyTrans, password
Constructor and Description |
---|
KEKRecipientId(byte[] keyIdentifier)
Construct a recipient ID with the key identifier of a KEK recipient.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object o) |
byte[] |
getKeyIdentifier() |
int |
hashCode() |
boolean |
match(java.lang.Object obj) |
getType
public KEKRecipientId(byte[] keyIdentifier)
keyIdentifier
- a subjectKeyIdpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public byte[] getKeyIdentifier()
public java.lang.Object clone()
clone
in interface org.bouncycastle.util.Selector
clone
in class RecipientId
public boolean match(java.lang.Object obj)