xml.CryptoKey.savePrivate

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

Syntax

savePrivate()
  RETURNING object xml.DomDocument

Usage

Returns an DomDocument object containing the private 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).