Package org.bouncycastle.cms
Class KEKRecipientId
java.lang.Object
org.bouncycastle.cms.RecipientId
org.bouncycastle.cms.KEKRecipientId
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionKEKRecipientId(byte[] keyIdentifier) Construct a recipient ID with the key identifier of a KEK recipient. -
Method Summary
Methods inherited from class org.bouncycastle.cms.RecipientId
getType
-
Constructor Details
-
KEKRecipientId
public KEKRecipientId(byte[] keyIdentifier) Construct a recipient ID with the key identifier of a KEK recipient.- Parameters:
keyIdentifier- a subjectKeyId
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getKeyIdentifier
public byte[] getKeyIdentifier() -
clone
- Specified by:
clonein interfaceSelector- Specified by:
clonein classRecipientId
-
match
Description copied from interface:SelectorMatch the passed in object, returning true if it would be selected by this selector, false otherwise.- Parameters:
obj- the object to be matched.- Returns:
- true if the object is a match for this selector, false otherwise.
-