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 ) |
| Visual Basic |
|---|
Public Sub New ( _ cert As Certificate, _ additional As CertificateStore _ ) |
| Visual C++ |
|---|
public: CertificateChain( Certificate^ cert, CertificateStore^ additional ) |
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.
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. |