Cypher for .net

PGPBase..::..Decrypt Method (array<Byte>[]()[][], RSAEncryptionPadding)

When overridden in a derived class, decrypts the input data using the specified padding mode.

Namespace:  Walter.Cypher.PGP
Assembly:  Walter.Cypher (in Walter.Cypher.dll)

Syntax


[NotNullAttribute]
public byte[] Decrypt(
	byte[] data,
	RSAEncryptionPadding padding
)

Parameters

data
Type: array<Byte>[]()[][]
The data to decrypt.
padding
Type: RSAEncryptionPadding
The padding mode.

Return Value

The decrypted data.

Exceptions


ExceptionCondition
[System.ArgumentNullException]data