Edit

Share via


RSAKeyValue.Key Property

Definition

Gets or sets the instance of RSA that holds the public key.

public:
 property System::Security::Cryptography::RSA ^ Key { System::Security::Cryptography::RSA ^ get(); void set(System::Security::Cryptography::RSA ^ value); };
public System.Security.Cryptography.RSA Key { get; set; }
member this.Key : System.Security.Cryptography.RSA with get, set
Public Property Key As RSA

Property Value

RSA

The instance of RSA that holds the public key.

Remarks

The Key property represents the public key to add to an XML digital signature using the <Modulus> subelement and the <Exponent> subelement of the <RSAKeyValue> element.

For more information about XML digital signatures, see the W3C specification.

Applies to