Class KEKRecipientId

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

public class KEKRecipientId extends RecipientId
  • 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()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getKeyIdentifier

      public byte[] getKeyIdentifier()
    • clone

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

      public boolean match(Object obj)