RsaPublicKey(Byte, KeyPkcsFormat) Constructor

Initializes a new instance of RsaPublicKey from an ASN.1-encoded byte array and key format.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public RsaPublicKey(
	byte[] rawData,
	KeyPkcsFormat keyFormat
)

Parameters

rawData  Byte
ASN.1-encoded RSA public key.
keyFormat  KeyPkcsFormat
RSA public key format.

Exceptions

ArgumentNullExceptionrawData parameter is null.
ArgumentOutOfRangeExceptionkeyFormat enumeration is out of range.

See Also