RsaPublicKey(PublicKey) Constructor

Initializes a new instance of RsaPublicKey from a public key object.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public RsaPublicKey(
	PublicKey publicKey
)

Parameters

publicKey  PublicKey
A public key that represents RSA public key.

Exceptions

ArgumentNullExceptionpublicKey parameter is null.
ArgumentException Supplied public key is not RSA key.

See Also