X509CertificateTrustListBuilderSign Method |
Encodes and signs current trust list using signer certificate and optional certificate chain to include in CTL.
Namespace:
SysadminsLV.PKI.Cryptography.X509Certificates
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public X509CertificateTrustList Sign(
MessageSigner signer,
X509Certificate2Collection chain
)
Public Function Sign (
signer As MessageSigner,
chain As X509Certificate2Collection
) As X509CertificateTrustList
public:
X509CertificateTrustList^ Sign(
MessageSigner^ signer,
X509Certificate2Collection^ chain
)
member Sign :
signer : MessageSigner *
chain : X509Certificate2Collection -> X509CertificateTrustList
Parameters
- signer
- Type: SysadminsLV.PKI.Tools.MessageOperationsMessageSigner
signing object that contains public certificate, private key and signing configuration. - chain
- Type: System.Security.Cryptography.X509CertificatesX509Certificate2Collection
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
Type:
X509CertificateTrustList
An instance of
X509CertificateTrustList class that represents signed certificate trust list.
See Also