Method ReadSignatureCertificateChain
ReadSignatureCertificateChain(out Nullable<X509Certificate2Collection>, Boolean)
The CA certificates of the certificate ReadSignatureCertificate(out Nullable<X509Certificate2>, Boolean) returns, to embed in the CMS with it - a validator builds the chain from the CMS alone.
Declaration
Error ReadSignatureCertificateChain(out X509Certificate2Collection? chain, bool swSign = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<X509Certificate2Collection> | chain | The CA certificates, issuing CA first; empty if there are none. Null in case of error. |
| System.Boolean | swSign | As for ReadSignatureCertificate(out Nullable<X509Certificate2>, Boolean). |
Returns
| Type | Description |
|---|---|
| Error |
Remarks
A software certificate (issued by this release): its issuing CA and the StepOver Software Root CA G2. A configured certificate (SetCertificate): the CA certificates the system finds for it, possibly none. A pad certificate: none.