CryptoAsymmetricDecrypt (FUN)

FUNCTION CryptoAsymmetricDecrypt : RTS_IEC_RESULT

Perform a asymmetric decryption using the algorithm handle.

InOut:

Scope

Name

Type

Comment

Return

CryptoAsymmetricDecrypt

RTS_IEC_RESULT

Result of the operation

Input

hAlgo

RTS_IEC_HANDLE

Handle to the algorithm.

pCipherText

POINTER TO RtsByteString

Data to be decrypted

privateKey

RtsCryptoKey

Private key used to decrypt the data.

pPlainText

POINTER TO RtsByteString

Decrypted data.