CryptoImportAsymmetricKey (FUN)
FUNCTION CryptoImportAsymmetricKey : RTS_IEC_RESULT
This function can be used to import asymmtric keys from different formats.
- InOut:
Scope
Name
Type
Comment
Return
CryptoImportAsymmetricKeyRTS_IEC_RESULTResult of the operation
Input
dataRtsByteStringThe buffer to be imported.
xBase64BOOLImport the key in BASE64 encoding. Otherwise ASN.1 will be used.
xPrivateKeyBOOLTRUE: Import a private key. FLASE: Import a public key.
pKeyPOINTER TO RtsCryptoKey
The imported public key.