Click or drag to resize

X509AuthorityKeyIdentifierExtension Constructor (X509Certificate2, AuthorityKeyIdentifierFlags, Boolean)

Intitializes a new instance of X509AuthorityKeyIdentifierExtension class from an issuer certificate, extension generation flags an a value that identifies whether the extension is critical.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public X509AuthorityKeyIdentifierExtension(
	X509Certificate2 issuer,
	AuthorityKeyIdentifierFlags flags,
	bool critical
)

Parameters

issuer
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Issuer certificate which is used to construct the AKI extension.
flags
Type: System.Security.Cryptography.X509CertificatesAuthorityKeyIdentifierFlags
Indicates which issuer components are included in the AKI extension. If the value is zero (None), then default KeyIdentifier component will be included.
critical
Type: SystemBoolean
True if the extension is critical; otherwise, False.
Exceptions
ExceptionCondition
ArgumentNullExceptionissuer parameter is null.
Remarks
If flags parameter contains AlternativeNames and issuer certificate does not contain Subject Alternative Names (SAN) extension, AlternativeNames flags is ignored. If AlternativeNames is the only flag, and SAN extension is missing, only KeyIdentifier component will be included.
See Also