CryptoAsymmetricEncrypt (FUN)ΒΆ
FUNCTION CryptoAsymmetricEncrypt : RTS_IEC_RESULT
Perform a asymmetric encryption using the algorithm handle.
- InOut:
Scope
Name
Type
Comment
Return
CryptoAsymmetricEncryptRTS_IEC_RESULTResult of the operation
Input
hAlgoRTS_IEC_HANDLEHandle to the algorithm.
pPlainTextPOINTER TO RtsByteString
Data to be encrypted
publicKeyRtsCryptoKeyPublic key used to encrypt the data.
pCipherTextPOINTER TO RtsByteString
Encrypted data.