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.6.33415 (22.09.2025)+55d4baaf8f17ebe942fa8931c5994288899c2371
Syntax
C#
public byte[] EncryptContainerItem(
	PsrContainerItem item,
	string plaintext
)

Parameters

item
Type: PsrApi.DataPsrContainerItem
plaintext
Type: SystemString

Return Value

Type: Byte
See Also