19.7 Messages starting with KEXS
This section describes the messages between KEXS10001 and KEXS99999, which are output by Cosminexus XML Security - Core.
-
KEXS20006-E
The JCE provider was not found. Provider name = {0}
- (Cause)
-
A Java security provider is not set correctly.
{0}: Provider name
- (Processing)
-
An exception is issued.
- (Action)
-
Check the java.security file for incorrect settings.
-
KEXS20007-E
A JCE algorithm was not found. Algorithm name = {0}; provider name = {1}
- (Cause)
-
The Java security provider is not set correctly.
{0}: Algorithm name
{1}: Provider name
- (Processing)
-
An exception is issued.
- (Action)
-
Check the java.security file for incorrect settings.
-
KEXS20008-E
Invalid DSA ASN.1 format.
- (Cause)
-
The DSA ASN.1 format is invalid.
- (Processing)
-
An exception is issued.
- (Action)
-
Check the java.security file for incorrect settings.
-
KEXS20009-E
The specified implementation class is invalid. Class name = {0}
- (Cause)
-
The specified implementation class is invalid.
{0}: Class name
- (Processing)
-
An exception is issued.
- (Action)
-
Specify a valid implementation class.
-
KEXS30010-E
No parent node exists.
- (Cause)
-
An attempt was made to replace EncryptedData that does not have a parent node in decryption mode.
- (Processing)
-
An exception is issued.
- (Action)
-
Specify EncryptedData that has a parent node.
-
KEXS30011-E
Invalid DOMFragment.
- (Cause)
-
The DOMFragment nodes have no parent or have no siblings.
- (Processing)
-
An exception is issued.
- (Action)
-
Specify a DOMFragment for which the nodes have a parent and siblings.
-
KEXS40001-E
Invalid mode.
- (Cause)
-
The set mode is invalid for the attempted processing.
- (Processing)
-
An exception is issued.
- (Action)
-
Set a valid mode.
-
KEXS40002-E
The algorithm was not found. Category = {0}; algorithm identifier = {1}
- (Cause)
-
The specified algorithm is invalid.
{0}: Category
{1}: Algorithm identifier
- (Processing)
-
An exception is issued.
- (Action)
-
Specify a valid algorithm.
-
KEXS40003-E
No key resolver is set.
- (Cause)
-
No key resolver is set.
- (Processing)
-
An exception is issued.
- (Action)
-
Set a key resolver.
-
KEXS40004-E
An invalid algorithm parameter is specified.
- (Cause)
-
An invalid algorithm parameter is specified.
- (Processing)
-
An exception is issued.
- (Action)
-
Specify a valid algorithm parameter.
-
KEXS40009-E
Key resolution failed.
- (Cause)
-
The key could not be obtained during key resolution.
- (Processing)
-
An exception is issued.
- (Action)
-
Set an appropriate key resolver so that a key can be obtained.
-
KEXS40010-E
An invalid object is included.
- (Cause)
-
List or Map contains an invalid object.
- (Processing)
-
An exception is issued.
- (Action)
-
Do not include any invalid objects.
-
KEXS40011-E
The usage of the enveloped-signature transform or XPath function here() is not correct.
- (Cause)
-
No node is bound to the enveloped-signature transform or XPath function here().
- (Processing)
-
An exception is issued.
- (Action)
-
Check to see whether the usage of the enveloped-signature transform or XPath function here() is correct.
-
KEXS40012-E
No output destination is set.
- (Cause)
-
No output destination is set for XMLSerializer.
- (Processing)
-
An exception is issued.
- (Action)
-
Set an output destination.
-
KEXS40013-E
The result is not well-formed. Mode = {0}
- (Cause)
-
A replacement that would produce the following results was attempted:
-
Two document elements result.
-
An element appears before a DocumentType node.
-
The document node contains a non-comment and non-PI subnode.
{0}: Mode
-
- (Processing)
-
An exception is issued.
- (Action)
-
Correct the replacement so that the result becomes well-formed.
-
KEXS40014-E
The specified key has an invalid key length. Key length = {0}
- (Cause)
-
The Key object has an invalid key length.
{0}: Key length
- (Processing)
-
An exception is issued.
- (Action)
-
Specify a key with a valid key length.
-
KEXS40015-E
The specified key agreement context is invalid.
- (Cause)
-
The key agreement context is invalid.
- (Processing)
-
An exception is issued.
- (Action)
-
Specify a valid key agreement context.
-
KEXS40016-E
The specified node is at an invalid location. Mode = {0}
- (Cause)
-
During encryption, an attempt was made to replace EncryptedData with an instance of DOMFragment that is its descendant. Or, during decryption, an attempt was made to replace DOMFragment with an instance of EncryptedData that is its descendant or that has a sibling relationship with DOMFragment.
{0}: Mode
- (Processing)
-
An exception is issued.
- (Action)
-
Specify instances of EncryptedData or DOMFragment that are in valid locations.
-
KEXS50001-E
The specified element is invalid. Requested element = {0}; specified element = {1}
- (Cause)
-
The specified element is invalid. The name space URI or local name contains an error.
{0}: Requested element
{1}: Specified element
- (Processing)
-
An exception is issued.
- (Action)
-
Specify a valid element.
-
KEXS50002-E
No KeyInfo content can be created. Name space URI = {0}; local name = {1}
- (Cause)
-
The specified KeyInfo content is invalid.
{0}: Name space URI
{1}: Local name
- (Processing)
-
An exception is issued.
- (Action)
-
Specify valid KeyInfo content.
-
KEXS50003-E
No algorithm parameter is set. Algorithm identifier = {0}
- (Cause)
-
No algorithm parameter is set.
{0}: Algorithm identifier
- (Processing)
-
An exception is issued.
- (Action)
-
Set an algorithm parameter.
-
KEXS50014-E
JCE algorithm processing failed. Class name = {0}; method name = {1}; provider name = {2}
- (Cause)
-
JCE algorithm processing failed or an invalid value might be set for the KeyInfo content.
{0}: Class name
{1}: Method name
{2}: Provider name
- (Processing)
-
An exception is issued.
- (Action)
-
Check the java.security file for incorrect settings.
-
KEXS50015-E
Integer format error. Text = {0}
- (Cause)
-
The set text cannot be recognized as an integer.
{0}: Text
- (Processing)
-
An exception is issued.
- (Action)
-
Set text that is recognized as an integer.
-
KEXS50016-E
Invalid DSA XML signature format.
- (Cause)
-
The SignatureValue element has an invalid DSA signature value.
- (Processing)
-
An exception is issued.
- (Action)
-
Set a valid DSA signature value.
-
KEXS50017-E
No corresponding DOM node exists.
- (Cause)
-
An attempt was made to apply the decryptXML method to EncryptedData that was not created from an existing Element node, or a replacement attempt was made in decryption mode.
- (Processing)
-
An exception is issued.
- (Action)
-
Use EncryptedData created with the newEncryptedData method (XMLSecurityContext or Element) of the XMLEncryptionFactory class.
-
KEXS50018-E
An invalid value is set in the KeySize element. KeySize = {0}
- (Cause)
-
An invalid value is set for the KeySize element.
{0}: KeySize element value
- (Processing)
-
An exception is issued.
- (Action)
-
Set a valid value.
-
KEXS50019-E
Invalid data size. Data size = {0}
- (Cause)
-
Data input to the specified algorithm is too short or is not a multiple of the block length specified for the algorithm.
{0}: Data size
- (Processing)
-
An exception is issued.
- (Action)
-
Specify valid input data.
-
KEXS50020-E
Integrity checking failed. Algorithm identifier = {0}
- (Cause)
-
The input data or key is invalid.
{0}: Algorithm identifier
- (Processing)
-
An exception is issued.
- (Action)
-
Specify valid input data or a valid key.
-
KEXS50021-E
A parameter necessary for key generation is not set.
- (Cause)
-
A parameter necessary for key generation is not set.
- (Processing)
-
An exception is issued.
- (Action)
-
Set the necessary parameter.
-
KEXS50022-E
The decryption result is null.
- (Cause)
-
The encrypted data is null. Processing with the decryptXML method is not possible.
- (Processing)
-
An exception is issued.
- (Action)
-
Specify EncryptedData containing valid data.
-
KEXS50023-E
Invalid padding. Algorithm identifier = {0}
- (Cause)
-
The input data or key is invalid.
{0}: Algorithm identifier
- (Processing)
-
An exception is issued.
- (Action)
-
Specify valid input data or a valid key.