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 ) |
| Visual Basic |
|---|
Public Sub New ( _ cert As Certificate _ ) |
| Visual C++ |
|---|
public: CertificateChain( Certificate^ cert ) |
Parameters
- cert
- Type: LLCryptoLib.Security.Certificates..::..Certificate
The certificate for which a chain is being built.
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. |