public class BasicDecryptionConfiguration extends BasicWhitelistBlacklistConfiguration implements DecryptionConfiguration
DecryptionConfiguration
.WhitelistBlacklistConfiguration.Precedence
DEFAULT_PRECEDENCE
Constructor and Description |
---|
BasicDecryptionConfiguration()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
KeyInfoCredentialResolver |
getDataKeyInfoCredentialResolver()
Get the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.
|
EncryptedKeyResolver |
getEncryptedKeyResolver()
Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.
|
KeyInfoCredentialResolver |
getKEKKeyInfoCredentialResolver()
Get the KeyInfoCredentialResolver to use when processing the EncryptedKey/KeyInfo (the
Key Encryption Key or KEK).
|
void |
setDataKeyInfoCredentialResolver(KeyInfoCredentialResolver resolver)
Set the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.
|
void |
setEncryptedKeyResolver(EncryptedKeyResolver resolver)
Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.
|
void |
setKEKKeyInfoCredentialResolver(KeyInfoCredentialResolver resolver)
Set the KeyInfoCredentialResolver to use when processing the EncryptedKey/KeyInfo (the
Key Encryption Key or KEK).
|
getBlacklistedAlgorithms, getWhitelistBlacklistPrecedence, getWhitelistedAlgorithms, isBlacklistMerge, isWhitelistMerge, setBlacklistedAlgorithms, setBlacklistMerge, setWhitelistBlacklistPrecedence, setWhitelistedAlgorithms, setWhitelistMerge
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlacklistedAlgorithms, getWhitelistBlacklistPrecedence, getWhitelistedAlgorithms, isBlacklistMerge, isWhitelistMerge
@Nullable public KeyInfoCredentialResolver getDataKeyInfoCredentialResolver()
getDataKeyInfoCredentialResolver
in interface DecryptionConfiguration
public void setDataKeyInfoCredentialResolver(@Nullable KeyInfoCredentialResolver resolver)
resolver
- the KeyInfoCredentialResolver instance@Nullable public KeyInfoCredentialResolver getKEKKeyInfoCredentialResolver()
getKEKKeyInfoCredentialResolver
in interface DecryptionConfiguration
public void setKEKKeyInfoCredentialResolver(@Nullable KeyInfoCredentialResolver resolver)
resolver
- the KeyInfoCredentialResolver instance@Nullable public EncryptedKeyResolver getEncryptedKeyResolver()
getEncryptedKeyResolver
in interface DecryptionConfiguration
public void setEncryptedKeyResolver(@Nullable EncryptedKeyResolver resolver)
resolver
- the EncryptedKeyResolver instanceCopyright © 2018. All rights reserved.