Module io.inverno.mod.security.jose
Class GenericJsonJWE.AbstractRecipient<A>
java.lang.Object
io.inverno.mod.security.jose.internal.jwe.GenericJsonJWE.AbstractRecipient<A>
- Type Parameters:
A- the payload type
- All Implemented Interfaces:
JsonJWE.Recipient<A>
- Direct Known Subclasses:
GenericJsonJWE.GenericBuiltRecipient,GenericJsonJWE.GenericReadRecipient
- Enclosing class:
- GenericJsonJWE<A,
B extends JsonJWE.Recipient<A>>
public abstract static class GenericJsonJWE.AbstractRecipient<A>
extends Object
implements JsonJWE.Recipient<A>
Base JsonJWE.Recipient implementation.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Field Details
-
header
The recipient specific JWE header.
-
-
Constructor Details
-
AbstractRecipient
Creates a JSON JWE recipient.
- Parameters:
header- the recipient specific JWE header
-
-
Method Details
-
getHeader
Description copied from interface:JsonJWE.RecipientReturns the recipient specific JWE JOSE header.
- Specified by:
getHeaderin interfaceJsonJWE.Recipient<A>- Returns:
- a JOSE JWE header
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceJsonJWE.Recipient<A>- Overrides:
hashCodein classObject
-
equals
- Specified by:
equalsin interfaceJsonJWE.Recipient<A>- Overrides:
equalsin classObject
-