Class KEKRecipientId

  • All Implemented Interfaces:
    java.lang.Cloneable, org.bouncycastle.util.Selector

    public class KEKRecipientId
    extends RecipientId
    • 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()
        Specified by:
        clone in interface org.bouncycastle.util.Selector
        Specified by:
        clone in class RecipientId
      • match

        public boolean match​(java.lang.Object obj)