Update a DigestEncrypt operation

Namespace:  Cryptware.NCryptoki
Assembly:  NCryptoki (in NCryptoki.dll)

Syntax

Visual Basic (Declaration)
Public Function DigestEncryptUpdate ( _
	data As Byte(), _
	key As Key _
) As Byte()
C#
public byte[] DigestEncryptUpdate(
	byte[] data,
	Key key
)
Visual C++
public:
virtual array<unsigned char>^ DigestEncryptUpdate(
	[InAttribute] array<unsigned char>^ data, 
	Key^ key
) sealed
JavaScript
function digestEncryptUpdate(data, key);

Parameters

data
Type: array<System..::..Byte>[]()[]
data to digest and encrypt
key
Type: Cryptware.NCryptoki..::..Key
Key used for encryption

Return Value

digest

Implements

ISession..::..DigestEncryptUpdate(array<Byte>[]()[][], Key)

Remarks

Call C_DigestEncryptUpdate

Exceptions

ExceptionCondition
Cryptware.NCryptoki..::..CryptokiExceptionif a PKCS#11 error occurs

See Also