HttpsCertificateAnnotation.Certificate Property

Definition

Sets an X509Certificate2 instance associated with this annotation. If a certificate is provided, it must have a private key; otherwise, an ArgumentException is thrown when setting the value.

public System.Security.Cryptography.X509Certificates.X509Certificate2? Certificate { get; init; }
member this.Certificate : System.Security.Cryptography.X509Certificates.X509Certificate2 with get, set
Public Property Certificate As X509Certificate2

Property Value

Applies to