RsaPrivateKey(Byte) Constructor

Initializes a new instance of RsaPrivateKey from a PKCS#1 or unencrypted PKCS#8 format.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public RsaPrivateKey(
	byte[] privateKey
)

Parameters

privateKey  Byte
Private key in PKCS#1 or PKCS#8 format.

Exceptions

ArgumentNullExceptionprivateKey parameter is null.

See Also