RsaPublicKey Class

Represents a RSA public key structure.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public sealed class RsaPublicKey : AsymmetricKeyPair
Inheritance
Object    AsymmetricKeyPair    RsaPublicKey

Constructors

RsaPublicKey(PublicKey) Initializes a new instance of RsaPublicKey from a public key object.
RsaPublicKey(RSA) Initializes a new instance of RsaPublicKey from an existing DSA key instance.
RsaPublicKey(Byte, KeyPkcsFormat) Initializes a new instance of RsaPublicKey from an ASN.1-encoded byte array and key format.

Properties

Modulus Gets the public key modulus.
Oid Gets the algorithm identifier for the asymmetric algorithm group stored in the current object.
(Inherited from AsymmetricKeyPair)
PublicExponent Gets public key public exponent.
PublicOnly Gets the value that indicates whether the current object stores only public part of key material. If False, then object contains both, public and private components.
(Inherited from AsymmetricKeyPair)

Methods

DisposeReleases all resources used by the RsaPublicKey
(Overrides AsymmetricKeyPairDispose)
Equals
(Inherited from Object)
GetAsymmetricKey Gets the implementation object for the current asymmetric algorithm.
(Overrides AsymmetricKeyPairGetAsymmetricKey)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
ToString
(Inherited from Object)

See Also