Class EncryptionParameters
java.lang.Object
net.shibboleth.oidc.security.jose.EncryptionParameters
The effective parameters to use when generating encrypted JWTs.
- Since:
- 2.2.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe EncryptedData encryption algorithm URI.private CredentialThe EncryptedData encryption credential.private StringThe EncryptedKey encryption algorithm URI.private CredentialThe EncryptedKey encryption credential. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the encryption algorithm URI to use when encrypting the EncryptedData.Get the encryption credential to use when encrypting the EncryptedData.Get the encryption algorithm URI to use when encrypting the EncryptedKey.Get the encryption credential to use when encrypting the EncryptedKey.voidSet the encryption algorithm URI to use when encrypting the EncryptedData.voidsetDataEncryptionCredential(Credential credential) Set the encryption credential to use when encrypting the EncryptedData.voidSet the encryption algorithm URI to use when encrypting the EncryptedKey.voidsetKeyTransportEncryptionCredential(Credential credential) Set the encryption credential to use when encrypting the EncryptedKey.
-
Field Details
-
dataEncryptionCredential
The EncryptedData encryption credential. -
keyTransportEncryptionCredential
The EncryptedKey encryption credential. -
dataEncryptionAlgorithmURI
The EncryptedData encryption algorithm URI. -
keyTransportEncryptionAlgorithmURI
The EncryptedKey encryption algorithm URI.
-
-
Constructor Details
-
EncryptionParameters
public EncryptionParameters()
-
-
Method Details
-
getDataEncryptionCredential
Get the encryption credential to use when encrypting the EncryptedData.- Returns:
- the encryption credential
-
setDataEncryptionCredential
Set the encryption credential to use when encrypting the EncryptedData.- Parameters:
credential- the encryption credential
-
getKeyTransportEncryptionCredential
Get the encryption credential to use when encrypting the EncryptedKey.- Returns:
- the encryption credential
-
setKeyTransportEncryptionCredential
Set the encryption credential to use when encrypting the EncryptedKey.- Parameters:
credential- the encryption credential
-
getDataEncryptionAlgorithm
Get the encryption algorithm URI to use when encrypting the EncryptedData.- Returns:
- an encryption algorithm URI
-
setDataEncryptionAlgorithm
Set the encryption algorithm URI to use when encrypting the EncryptedData.- Parameters:
uri- an encryption algorithm URI
-
getKeyTransportEncryptionAlgorithm
Get the encryption algorithm URI to use when encrypting the EncryptedKey.- Returns:
- an encryption algorithm URI
-
setKeyTransportEncryptionAlgorithm
Set the encryption algorithm URI to use when encrypting the EncryptedKey.- Parameters:
uri- an encryption algorithm URI
-