CryptoStorePrivateKey (FUN)

FUNCTION CryptoStorePrivateKey : RTS_IEC_RESULT

This function can be used to store a private key that was imported or generated within the components internal data store.

InOut:

Scope

Name

Type

Comment

Return

CryptoStorePrivateKey

RTS_IEC_RESULT

Result of the operation

Input

key

RtsCryptoKey

The private key to be stored.

pKeyIdentifier

POINTER TO RtsByteString

A bytestring where the key identifier is stored. This identifier can be used to access the key later. The identifier does not contain any sensitive data.