xml.CryptoKey.loadPrivate
Loads the private asymmetric RSA key from the given XML document.
Syntax
loadPrivate(
doc xml.DomDocument )
- doc defines a
xml.DomDocument
object.
Usage
This method loads the private asymmetric RSA key contained in the given
xml.DomDocument
into the private key element of the CryptoKey object. The RSA
private key is based on the XKMS2.0
specification.
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).