Click or drag to resize

X509CertificateTrustListEntry Constructor (X509Certificate2, Oid)

Initializes a new instance of X509CertificateTrustListEntry class using an existing instance of X.509 certificate and hashing algorithm used to compute the hash.

Namespace:  SysadminsLV.PKI.Cryptography.X509Certificates
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public X509CertificateTrustListEntry(
	X509Certificate2 certificate,
	Oid hashAlgorithm = null
)

Parameters

certificate
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
An instance of certificate associated with the current CTL entry.
hashAlgorithm (Optional)
Type: System.Security.CryptographyOid
Specifies the hashing algorithm used to calculate the thumbprint. This parameter is optional. If not specified, or invalid hash algorithm is specified, default certificate hashing algorithm is used.
Exceptions
ExceptionCondition
ArgumentNullExceptioncertificate parameter is null.
See Also