Module io.inverno.mod.security.jose
Class GenericJsonJWE.GenericBuiltRecipient<A>
java.lang.Object
io.inverno.mod.security.jose.internal.jwe.GenericJsonJWE.AbstractRecipient<A>
io.inverno.mod.security.jose.internal.jwe.GenericJsonJWE.GenericBuiltRecipient<A>
- Type Parameters:
A- the payload type
- All Implemented Interfaces:
JsonJWE.BuiltRecipient<A>,JsonJWE.Recipient<A>
- Enclosing class:
- GenericJsonJWE<A,
B extends JsonJWE.Recipient<A>>
public static class GenericJsonJWE.GenericBuiltRecipient<A>
extends GenericJsonJWE.AbstractRecipient<A>
implements JsonJWE.BuiltRecipient<A>
Generic built recipient implementation.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Field Summary
Fields inherited from class io.inverno.mod.security.jose.internal.jwe.GenericJsonJWE.AbstractRecipient
header -
Constructor Summary
ConstructorsConstructorDescriptionGenericBuiltRecipient(JWEHeader header, JWE<A> jwe) Creates a JSON JWE built recipient. -
Method Summary
Methods inherited from class io.inverno.mod.security.jose.internal.jwe.GenericJsonJWE.AbstractRecipient
getHeaderMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.inverno.mod.security.jose.jwe.JsonJWE.Recipient
getHeader
-
Constructor Details
-
GenericBuiltRecipient
Creates a JSON JWE built recipient.
- Parameters:
header- the recipient specific JWE headerjwe- the recipient JWE
-
-
Method Details
-
getEncryptedKey
Description copied from interface:JsonJWE.RecipientReturns the recipient specific encrypted key.
- Specified by:
getEncryptedKeyin interfaceJsonJWE.Recipient<A>- Returns:
- an encrypted key
-
getJWE
Description copied from interface:JsonJWE.BuiltRecipientReturns the recipient JWE.
- Specified by:
getJWEin interfaceJsonJWE.BuiltRecipient<A>- Returns:
- a JWE object
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceJsonJWE.BuiltRecipient<A>- Specified by:
hashCodein interfaceJsonJWE.Recipient<A>- Overrides:
hashCodein classGenericJsonJWE.AbstractRecipient<A>
-
equals
- Specified by:
equalsin interfaceJsonJWE.BuiltRecipient<A>- Specified by:
equalsin interfaceJsonJWE.Recipient<A>- Overrides:
equalsin classGenericJsonJWE.AbstractRecipient<A>
-