SubjectAlternativeNameBuilder.Build(Boolean) Method

Definition

Returns an X509Extension object that represents the encoded subject alternative name extension.

public System.Security.Cryptography.X509Certificates.X509Extension Build (bool critical = false);
member this.Build : bool -> System.Security.Cryptography.X509Certificates.X509Extension
Public Function Build (Optional critical As Boolean = false) As X509Extension

Parameters

critical
Boolean

true to mark the extension as Critical; otherwise, false. The default value is false.

Returns

An X509Extension object that represents the encoded subject alternative name extension.

Applies to