Exception name |
Error message |
Message comments |
Cause |
Solution Recommendations |
Bodyencryptioncheckfailed |
Protection Requirements not satisfied:body of the message was not encrypted, or was encrypted with a token of a unexpected Type |
Failed to meet protection requirements: The body of the message is not encrypted or is encrypted by an unknown type of token |
The client certificate does not match on the server side certificate, or the client does not set the certificate, and the server requires certificate validation |
|
Cryptography_xml_createdkeyfailed |
Failed to create the signing key. |
Unable to create signature key |
The provided certificate does not have a signature feature |
Change the certificate type to create a certificate that can be used for signing |
Cryptography_xml_createhashalgorithmfailed |
Could not create the hash algorithm object. |
Unable to create DigestMethod specified hash algorithm object |
The specified DigestMethod algorithm is not supported by the specified certificate |
Change Certificate |
Cryptography_xml_createtransformfailed |
Could not create the XML transformation identified by the URI {0}. |
Failed to create a transformer that flags a specific URI |
|
|
Cryptography_xml_digestmethodrequired |
A digestmethod must is specified on a Reference before generating XML. |
You must specify DigestMethod on a reference before generating the XML |
|
|
Cryptography_xml_digestvaluerequired |
A Reference must contain a digestvalue. |
The reference must contain DigestValue |
|
|
Cryptography_xml_envelopedsignaturerequirescontext |
An XmlDocument context was required for enveloped transforms. |
An XML document requires an envelope converter |
|
|
Cryptography_xml_invalidelement |
Malformed element {0}. |
Error node: {0} |
|
|
Cryptography_xml_invalidreference |
Malformed reference element. |
Wrong reference node: {0} |
|
|
Cryptography_xml_invalidsignaturelength |
The length of the signature with a MAC should is less than the hash output length. |
The length of the signature with the Mac should be shorter than the hash value of the output |
|
|
Cryptography_xml_invalidsignaturelength2 |
The length of bits of the signature with a MAC should is a multiple of 8. |
The encryption bit length with Mac should be a multiple of 8 |
|
|
Cryptography_xml_invalidsignaturetag |
The signature element is not valid. |
Illegal signature node |
|
|
Cryptography_xml_keyinforequired |
A KeyInfo element is required to check the signature. |
A KeyInfo node requires a signature check |
|
|
Cryptography_xml_loadkeyfailed |
A signing key is not loaded. |
Signature Key not loaded |
|
|
Cryptography_xml_referenceelementrequired |
At least one Reference element is required. |
There should be at least one reference node |
|
|
Cryptography_xml_selfreferencerequirescontext |
An XmlDocument context was required to resolve the Reference URI {0}. |
An XML document needs to handle reference uri:{0} |
|
|
cryptography_xml_signaturedescriptionnotcreated |
Signaturedescription could not being created for the signature algorithm supplied. |
Signature description cannot be used to create the provided signature algorithm |
|
|
Cryptography_xml_signaturemethodkeymismatch |
The key does not fit the SignatureMethod. |
The key does not match the signature method |
|
|