Class CustomCAClientHandler
public CustomCertificateAutorisationClientHandler constructor
Inheritance
CustomCAClientHandler
Implements
Inherited Members
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public class CustomCAClientHandler : ACustomCAClientHandler, IDisposable
Constructors
CustomCAClientHandler(IEnumerable<X509Certificate2>)
public CustomCertificateAutorisationClientHandler constructor.
Declaration
public CustomCAClientHandler(IEnumerable<X509Certificate2> localCertificates)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<X509Certificate2> | localCertificates | List of the the X509Certificate2 certificates. |
CustomCAClientHandler(params string[])
public CustomCertificateAutorisationClientHandler constructor.
Declaration
public CustomCAClientHandler(params string[] localCertPaths)
Parameters
Type | Name | Description |
---|---|---|
string[] | localCertPaths | List of the custom certificate paths. |
Methods
ValidateCertificateChain(X509Certificate2, X509Chain)
Validate certificate function
Declaration
public override bool ValidateCertificateChain(X509Certificate2 apiCertificate, X509Chain chain)
Parameters
Type | Name | Description |
---|---|---|
X509Certificate2 | apiCertificate | The final certificate |
X509Chain | chain | The certificate chain |
Returns
Type | Description |
---|---|
bool | the chain is valid |