utils class

Methods

getAuthorityInfo(DetailedPeerCertificate, string, (err: string, uri: string) => void)
getResponse(RequestOptions | string, any, (err: string, raw: Buffer) => void)
parseResponse(any)

Method Details

getAuthorityInfo(DetailedPeerCertificate, string, (err: string, uri: string) => void)

static function getAuthorityInfo(cert: DetailedPeerCertificate, ocspMethod: string, cb: (err: string, uri: string) => void)

Parameters

cert

DetailedPeerCertificate

ocspMethod

string

cb

(err: string, uri: string) => void

getResponse(RequestOptions | string, any, (err: string, raw: Buffer) => void)

static function getResponse(httpOptions: RequestOptions | string, data: any, cb: (err: string, raw: Buffer) => void)

Parameters

httpOptions

RequestOptions | string

data

any

cb

(err: string, raw: Buffer) => void

parseResponse(any)

static function parseResponse(response: any)

Parameters

response

any

Returns