Class ACustomCAClientHandler
public CustomCertificateAutorisationClientHandler compatibility constructor
Inheritance
ACustomCAClientHandler
Implements
Inherited Members
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public abstract class ACustomCAClientHandler : WebRequestHandler, IDisposable
Methods
AddValidityFunction()
Add the ServerCertificateValidationCallback function
Declaration
protected void AddValidityFunction()
ValidateCertificateChain(X509Certificate2, X509Chain)
Validate certificate function
Declaration
public abstract 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 |