Supported kind of keys

Supported kind of keys for the xml.CryptoKey class.

Table 1. Supported kind of keys
Identifier Description Usage Type
http://www.w3.org/2000/09/xmldsig#dsa-sha1

Asymmetric DSA key with SHA1 for signature purposes.

Uses a private DSA key for signature and needs an associated public DSA key or X509 certificate containing it, to verify it.

See specification for details.

SIGNATURE PUBLIC or PRIVATE
http://www.w3.org/2000/09/xmldsig#rsa-sha1

Asymmetric RSA key with SHA1 for signature purposes.

Uses a private RSA key for signature and needs an associated public RSA key or X509 certificate containing it, to verify it.

See specification for details.
SIGNATURE PUBLIC or PRIVATE
http://www.w3.org/2000/09/xmldsig#hmac-sha1

Message Authentication Code key with SHA1 for signature purposes.

Uses a same password for signature and to verify it, and key size is free.

See specification for details.
SIGNATURE HMAC
http://www.w3.org/2001/04/xmlenc#aes128-cbc

Symmectric AES128 key for encryption purposes.

Uses a common key of 128bits for encrypting and decrypting XML documents.

See specification for details.
ENCRYPTION SYMMETRIC
http://www.w3.org/2001/04/xmlenc#aes192-cbc

Symmetric AES192 key for encryption purposes.

Uses a common key of 192bits for encrypting and decrypting XML documents.

See specification for details.
ENCRYPTION SYMMETRIC
http://www.w3.org/2001/04/xmlenc#aes256-cbc

Symmetric AES256 key for encryption purposes.

Uses a common key of 256bits for encrypting and decrypting XML documents.

See specification for details.
ENCRYPTION SYMMETRIC
http://www.w3.org/2001/04/xmlenc#tripledes-cbc

Symmetric TripleDes key for encryption purposes.

Uses a common key of 192bits for encrypting and decrypting XML documents.

See specification for details.
ENCRYPTION SYMMETRIC
http://www.w3.org/2001/04/xmlenc#kw-aes128

Symmetric AES128 key wrap for key encryption purposes.

Uses a common key of 128bits for encrypting and decrypting a symmetric key.

See specification for details.
KEY ENCRYPTION SYMMETRIC
http://www.w3.org/2001/04/xmlenc#kw-aes192

Symmetric AES192 key wrap for key encryption purposes.

Uses a common key of 192bits for encrypting and decrypting a symmetric key.

See specification for details.
KEY ENCRYPTION SYMMETRIC
http://www.w3.org/2001/04/xmlenc#kw-aes256

Symmetric AES256 key wrap for key encryption purposes.

Uses a common key of 256bits for encrypting and decrypting a symmetric key.

See specification for details.
KEY ENCRYPTION SYMMETRIC
http://www.w3.org/2001/04/xmlenc#kw-tripledes

Symmetric TripleDes key wrap for key encryption purposes.

Uses a common key of 192bits for encrypting and decrypting a symmetric key.

See specification for details.
KEY ENCRYPTION SYMMETRIC
http://www.w3.org/2001/04/xmlenc#rsa-1_5

Asymmetric RSA key for key encryption purposes.

Uses a public RSA key or a X509 certificate containing it to encrypt a symmetric key, and needs the associated private RSA key to decrypt it.

See specification for details.
KEY ENCRYPTION PUBLIC or PRIVATE
http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p

Asymmetric RSA key for key encryption purposes.

Uses a public RSA key or a X509 certificate containing it to encrypt a symmetric key, and needs the associated private RSA key to decrypt it.

See specification for details.
KEY ENCRYPTION PUBLIC or PRIVATE
Diffie-Hellman identifier: http://www.w3.org/2001/04/xmlenc#DHKeyValue Diffie-Hellman key agreement algorithm. Derives a shared secret. The resulting shared secret is a HMAC or symmetric key for encryption purposes. KEY AGREEMENT PUBLIC or PRIVATE