Package de.gematik.idp.token
Class IdpJwe
java.lang.Object
de.gematik.idp.token.IdpJoseObject
de.gematik.idp.token.IdpJwe
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class de.gematik.idp.token.IdpJoseObject
IdpJoseObject.Serializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IdpJwecreateJweWithPayloadAndHeaders(String payload, Key key, Consumer<org.jose4j.jwe.JsonWebEncryption> setHeaderOperator) static IdpJwecreateWithPayloadAndEncryptWithKey(String payload, Key key, String contentType) static IdpJwecreateWithPayloadAndExpiryAndEncryptWithKey(String payload, Optional<ZonedDateTime> expiryOptional, Key key, String contentType) Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed in the next release.decryptJwt(Key key) decryptNestedJwt(Key key) setDecryptionKey(Key decryptionKey) Methods inherited from class de.gematik.idp.token.IdpJoseObject
getAuthenticationCertificate, getBodyClaim, getBodyClaims, getBodyDateTimeClaim, getClientCertificateFromHeader, getDateTimeClaim, getExpiresAtBody, getHeaderClaim, getHeaderClaims, getHeaderDateTimeClaim, getHeaderDecoded, getIssuedAt, getNestedJwtForClaimName, getPayloadDecoded, getRawString, getScopesBodyClaim, getStringBodyClaim
-
Constructor Details
-
IdpJwe
-
-
Method Details
-
createWithPayloadAndEncryptWithKey
-
createWithPayloadAndExpiryAndEncryptWithKey
@Deprecated(since="24.1.0", forRemoval=true) public static IdpJwe createWithPayloadAndExpiryAndEncryptWithKey(String payload, Optional<ZonedDateTime> expiryOptional, Key key, String contentType) Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed in the next release.Use
createJweWithPayloadAndHeaders(String,Key, Consumer<JsonWebEncryption>)instead. -
createJweWithPayloadAndHeaders
-
decryptNestedJwt
-
decryptJwt
-
getExpiresAt
- Overrides:
getExpiresAtin classIdpJoseObject
-
decryptJweAndReturnPayloadString
-
extractHeaderClaims
- Specified by:
extractHeaderClaimsin classIdpJoseObject
-
setDecryptionKey
-
extractBodyClaims
- Specified by:
extractBodyClaimsin classIdpJoseObject
-