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.3.0+c7aa42c7e4fd98d87c1722b230e8e27c1bbf41f0
C#
public RsaPrivateKey(
	byte[] privateKey
)

Parameters

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

Exceptions

ArgumentNullExceptionprivateKey parameter is null.

See Also