Exception Name |
Thrown |
Description |
Message |
CryptoProviderNotFoundException |
During/after configuration |
No crypto provider can be found for a given alias. |
The cryptographic provider could not be found for the alias: [ALIAS] |
CryptoProviderAliasNullException |
During/after configuration |
The annotation has no associated alias or is null or and empty string. |
Cryptographic providers require a non-null, empty alias be configured. |
CryptoProviderMissingPublicKeyException |
During/after configuration |
The PublicKeyName field has not been set in the crypto provider configuration or is null or and empty string |
Cryptographic providers require a non-null, empty public and key identifier (kid) be configured for the alias: [ALIAS] |
CryptoProviderMissingSigningKeyException |
During/after configuration |
The SigningKeyName field has not been set in the crypto provider configuration or is null or and empty string. Required for symmetric algos. |
Symmetric key cryptographic providers require a non-null, empty signing key be configured for the alias: [ALIAS] |
CryptoProviderMissingPrivateKeyException |
During/after configuration |
The PrivateKeyName field has not been set in the crypto provider configuration or is null or and empty string. Required for asymmetric algos. |
Asymmetric key cryptographic providers require a non-null, empty private key be configured for the alias: [ALIAS] |
CryptoProviderSigningFailedException |
During execution |
Thrown if the authentication check fails on the decryption side. |
The authentication failed while checking the signature of the message payload for the alias: [ALIAS] |
CryptoProviderEncryptFailedException |
During execution |
Thrown if an error occurs during encryption. |
The encryption of the field failed for the alias: [ALIAS] |
CryptoProviderDecryptFailedException |
During execution |
Thrown if an error occurs during decryption. |
The decryption of the field failed for the alias: [ALIAS] |