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: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
Syntax
C#
public byte[] EncryptContainerItem(
	PsrContainerItem item,
	string plaintext
)

Parameters

item
Type: PsrApi.DataPsrContainerItem
plaintext
Type: SystemString

Return Value

Type: Byte
See Also