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