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).