OpcUaCryptoSymmetricDecrypt (FUN)ΒΆ

FUNCTION OpcUaCryptoSymmetricDecrypt : OpcUa_StatusCode

Decrypts data by using the encryption algorithm defined by the crypto provider.

InOut:

Scope

Name

Type

Comment

Return

OpcUaCryptoSymmetricDecrypt

OpcUa_StatusCode

Input

pCryptoProvider

POINTER TO OpcUa_CryptoProvider

Provider handle.

cipherText

OpcUa_ByteString

Cipher text to decrypt.

pKey

POINTER TO OpcUa_Key

The encryption/decryption key.

iv

OpcUa_ByteString

The initial vector.

Inout

plainText

OpcUa_ByteString

The decrypted text.