Constructor Certificate
- Namespace
- DotNetBrowser.Net.Certificates
- Assembly
- DotNetBrowser.dll
Certificate(X509Certificate)
Constructs a new Certificate instance from an X509Certificate.
public Certificate(X509Certificate certificate)
Parameters
certificate
X509Certificatethe certificate.
Exceptions
- ArgumentException
when value is null.
Certificate(X509Certificate, X509CertificateCollection)
Constructs a new Certificate instance from an X509Certificate and the list of intermediate X.509 certificates associated with this the certificate that may be needed for chain building.
public Certificate(X509Certificate certificate, X509CertificateCollection intermediateCertificates)
Parameters
certificate
X509CertificateThe X.509 certificate
intermediateCertificates
X509CertificateCollectionThe intermediate X.509 certificates associated with this the certificate.
Exceptions
- ArgumentException
when certificate or intermediate certificates are null.