Mentalis.org Security Library documentation

CertificateChain Constructor (Certificate)

Initializes a new CertificateChain instance from a Certificate.

[Visual Basic]
Overloads Public Sub New( _
   ByVal cert As Certificate _
)
[C#]
public CertificateChain(
   Certificate cert
);

Parameters

cert
The certificate for which a chain is being built.

Remarks

cert will always be the end certificate.

Exceptions

Exception TypeCondition
ArgumentNullExceptioncert is a null reference (Nothing in Visual Basic).
CertificateExceptionAn error occurs while building the certificate chain.

See Also

CertificateChain Class | CertificateChain Members | Org.Mentalis.Security.Certificates Namespace | CertificateChain Constructor Overload List