X509CertificateTrustListBuilderSign Method
Encodes and signs current trust list using signer certificate and optional certificate chain to include in CTL.
Namespace: SysadminsLV.PKI.Cryptography.X509CertificatesAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public X509CertificateTrustList Sign(
ICryptSigner signer,
X509Certificate2Collection chain
)
Public Function Sign (
signer As ICryptSigner,
chain As X509Certificate2Collection
) As X509CertificateTrustList
public:
X509CertificateTrustList^ Sign(
ICryptSigner^ signer,
X509Certificate2Collection^ chain
)
member Sign :
signer : ICryptSigner *
chain : X509Certificate2Collection -> X509CertificateTrustList
- 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.
X509CertificateTrustList
An instance of
X509CertificateTrustList class that represents signed certificate trust list.