CryptoExportAsymmetricKey (FUN)
FUNCTION CryptoExportAsymmetricKey : RTS_IEC_RESULT
This function can be used to export asymmetric keys
- InOut:
Scope
Name
Type
Comment
Return
CryptoExportAsymmetricKeyRTS_IEC_RESULTResult of the operation. ERR_NOT_SUPPORTED if the key does not support exporting.
Input
keyRtsCryptoKeyThe key to be exported.
xBase64BOOLExport the key in BASE64 encoding. Otherwise ASN.1 will be used.
xPrivateKeyBOOLFALSE: Export the public key. TRUE: Export the private key.
pDataPOINTER TO RtsByteString
Pointer to the buffer where to store the key.