Interface ICertificateManager
Methods
checkCertificate
- checkCertificate(certificate: Certificate): Promise<StatusCode>
- checkCertificate(certificate: Certificate, callback: StatusCodeCallback): void
-
Parameters
Returns Promise<StatusCode>
-
Parameters
-
-
callback: StatusCodeCallback
Returns void
getTrustStatus
- getTrustStatus(certificate: Certificate): Promise<StatusCode>
- getTrustStatus(certificate: Certificate, callback: StatusCodeCallback): void
-
Parameters
Returns Promise<StatusCode>
-
Parameters
-
-
callback: StatusCodeCallback
Returns void
rejectCertificate
- rejectCertificate(certificate: Certificate, callback: function): void
- rejectCertificate(certificate: Certificate): Promise<void>
-
Parameters
-
-
callback: function
-
- (err?: Error | null): void
-
Parameters
-
Optional err: Error | null
Returns void
Returns void
-
Parameters
Returns Promise<void>
trustCertificate
- trustCertificate(certificate: Certificate, callback: function): void
- trustCertificate(certificate: Certificate): Promise<void>
-
Parameters
-
-
callback: function
-
- (err?: Error | null): void
-
Parameters
-
Optional err: Error | null
Returns void
Returns void
-
Parameters
Returns Promise<void>