Class CertificateFactory
Inheritance
CertificateFactory
Assembly: Couchbase.NetClient.dll
Syntax
public static class CertificateFactory
Fields
|
Edit this page
View Source
DefaultCertificates
Default CA Certificates included with the SDK.
Declaration
[InterfaceStability(Level.Volatile)]
public static readonly IReadOnlyList<X509Certificate2> DefaultCertificates
Field Value
Methods
|
Edit this page
View Source
FromCertificates(params X509Certificate2[])
Create Creates an Func<TResult> from certificates you have predefined.
Declaration
public static ICertificateFactory FromCertificates(params X509Certificate2[] certs)
Parameters
Type |
Name |
Description |
X509Certificate2[] |
certs |
The pre-defined certificates you wish to use.
|
Returns
|
Edit this page
View Source
GetCertificatesByPathAndPassword(string, string)
Declaration
public static ICertificateFactory GetCertificatesByPathAndPassword(string path, string password)
Parameters
Returns
|
Edit this page
View Source
GetCertificatesFromStore(CertificateStoreSearchCriteria)
Declaration
public static ICertificateFactory GetCertificatesFromStore(CertificateStoreSearchCriteria searchCriteria)
Parameters
Returns
|
Edit this page
View Source
ValidatorWithIgnoreNameMismatch(object, X509Certificate?, X509Chain?, SslPolicyErrors, ILogger?, IRedactor?)
Declaration
[InterfaceStability(Level.Volatile)]
public static bool ValidatorWithIgnoreNameMismatch(object sender, X509Certificate? certificate, X509Chain? chain, SslPolicyErrors sslPolicyErrors, ILogger? logger = null, IRedactor? redactor = null)
Parameters
Returns
|
Edit this page
View Source
WithoutNameMismatch(SslPolicyErrors, ILogger?)
Declaration
[InterfaceStability(Level.Volatile)]
public static SslPolicyErrors WithoutNameMismatch(SslPolicyErrors errors, ILogger? logger = null)
Parameters
Returns