Bewerken

Share via


X509SignatureGenerator.PublicKey Property

Definition

Gets the public key associated with the private key with which signatures are being generated.

public:
 property System::Security::Cryptography::X509Certificates::PublicKey ^ PublicKey { System::Security::Cryptography::X509Certificates::PublicKey ^ get(); };
public System.Security.Cryptography.X509Certificates.PublicKey PublicKey { get; }
member this.PublicKey : System.Security.Cryptography.X509Certificates.PublicKey
Public ReadOnly Property PublicKey As PublicKey

Property Value

The public key associated with the private key with which signatures are being generated.

Remarks

If the public key is null, it creates a public key by calling the BuildPublicKey() method.

Applies to