public interface JWTEncryptionAndDecryptionService
Modifier and Type | Method and Description |
---|---|
void |
decryptJwt(com.nimbusds.jose.JWEObject jwt)
Decrypts the JWT in place with the default decrypter.
|
void |
encryptJwt(com.nimbusds.jose.JWEObject jwt)
Encrypts the JWT in place with the default encrypter.
|
Collection<com.nimbusds.jose.JWEAlgorithm> |
getAllEncryptionAlgsSupported()
Get the list of all encryption algorithms supported by this service.
|
Collection<com.nimbusds.jose.EncryptionMethod> |
getAllEncryptionEncsSupported()
Get the list of all encryption methods supported by this service.
|
Map<String,com.nimbusds.jose.jwk.JWK> |
getAllPublicKeys()
Get all public keys for this service, mapped by their Key ID
|
void encryptJwt(com.nimbusds.jose.JWEObject jwt)
jwt
- void decryptJwt(com.nimbusds.jose.JWEObject jwt)
jwt
- Map<String,com.nimbusds.jose.jwk.JWK> getAllPublicKeys()
Collection<com.nimbusds.jose.JWEAlgorithm> getAllEncryptionAlgsSupported()
Collection<com.nimbusds.jose.EncryptionMethod> getAllEncryptionEncsSupported()
Copyright © 2018. All rights reserved.