Initializes a new CertificateChain instance from a Certificate.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public CertificateChain( Certificate cert, CertificateStore additional, CertificateChainOptions options ) |
Visual Basic |
---|
Public Sub New ( _ cert As Certificate, _ additional As CertificateStore, _ options As CertificateChainOptions _ ) |
Visual C++ |
---|
public: CertificateChain( Certificate^ cert, CertificateStore^ additional, CertificateChainOptions options ) |
Parameters
- cert
- Type: LLCryptoLib.Security.Certificates..::..Certificate
The certificate for which a chain is being built.
- additional
- Type: LLCryptoLib.Security.Certificates..::..CertificateStore
Any additional store to be searched for supporting certificates and CTLs.
- options
- Type: LLCryptoLib.Security.Certificates..::..CertificateChainOptions
Additional certificate chain options.
Remarks
cert will always be the end certificate.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | cert is a null reference (Nothing in Visual Basic). |
LLCryptoLib.Security.Certificates..::..CertificateException | An error occurs while building the certificate chain. |