The CryptoKey class / xml.CryptoKey methods |
Saves the CryptoKey object into a BASE64 string format.
saveToString() RETURNING str STRING
For Diffie-Hellman, returns the Diffie-Hellman key's modulus and generator in a base64 encoded string. This is useful for the parameters exchange step between the two peers.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.