The CryptoKey class

The xml.CryptoKey class provides methods to manipulate HMAC, symmetric and asymmetric keys needed for signing, verifying, encrypting and decrypting XML documents or document fragments.

It follows the XML-Signature and XML-Encryption specifications.

The STATUS variable is set to zero after a successful method call.