X509CertificateTrustListBuilderSign Method

Encodes and signs current trust list using signer certificate and optional certificate chain to include in CTL.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public X509CertificateTrustList Sign(
	ICryptSigner signer,
	X509Certificate2Collection chain
)

Parameters

signer  ICryptSigner
signing object that contains public certificate, private key and signing configuration.
chain  X509Certificate2Collection
Signing certificate chain to add to CMS. This parameter is optional. If not specified, only leaf (signing) certificate is added to certificate list.

Return Value

X509CertificateTrustList
An instance of X509CertificateTrustList class that represents signed certificate trust list.

See Also