Click or drag to resize

ContainerManagerEncryptContainerItem Method

Encrypts the plaintext, stores the encrypted value and the public key in the container item and returns the data key that can be used to decrypt the value if a new data key was created.

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 8.13.13.27522 (14.03.2022)
Syntax
C#
public byte[] EncryptContainerItem(
	PsrContainerItem item,
	string plaintext
)

Parameters

item
Type: PsrApi.DataPsrContainerItem
plaintext
Type: SystemString

Return Value

Type: Byte
See Also