Interface JsonJWE.Recipient<A>

Type Parameters:
A - the payload type
All Known Subinterfaces:
JsonJWE.BuiltRecipient<A>, JsonJWE.ReadRecipient<A>
Enclosing interface:
JsonJWE<A,B extends JsonJWE.Recipient<A>>

public static interface JsonJWE.Recipient<A>

Base JSON JWE Recipient exposing recipient specific JWE JOSE header and encrypted key.

Since:
1.5
Author:
Jeremy Kuhn
  • Method Details

    • getHeader

      JWEHeader getHeader()

      Returns the recipient specific JWE JOSE header.

      Returns:
      a JOSE JWE header
    • getEncryptedKey

      String getEncryptedKey()

      Returns the recipient specific encrypted key.

      Returns:
      an encrypted key
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      boolean equals(Object obj)
      Overrides:
      equals in class Object