xml.CryptoKey.savePrivate

Saves the private key part of an asymmetric RSA CryptoKey object into a XML document according to the XKMS2.0 specification.

Syntax

savePrivate()
  RETURNS xml.DomDocument

Usage

Returns a xml.DomDocument object containing the private key part of an asymmetric RSA key.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).