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.5.33325 (02.09.2025)+429b894eb63dde25f05b27278f37720b53aa9a8f
Syntax
C#
public byte[] EncryptContainerItem(
	PsrContainerItem item,
	string plaintext
)

Parameters

item
Type: PsrApi.DataPsrContainerItem
plaintext
Type: SystemString

Return Value

Type: Byte
See Also