Header menu logo fable-electron-docs-api

Request Type

Constructors

Constructor Description

Request(hostname, certificate, validatedCertificate, isIssuedByKnownRoot, verificationResult, errorCode)

Full Usage: Request(hostname, certificate, validatedCertificate, isIssuedByKnownRoot, verificationResult, errorCode)

Parameters:
    hostname : string -
    certificate : Certificate -
    validatedCertificate : Certificate -
    isIssuedByKnownRoot : bool - true if Chromium recognises the root CA as a standard root. If it isn't then it's probably the case that this certificate was generated by a MITM proxy whose root has been installed locally (for example, by a corporate proxy). This should not be trusted if the verificationResult is not OK.
    verificationResult : string - OK if the certificate is trusted, otherwise an error like CERT_REVOKED.
    errorCode : int - Error code.

Returns: Request
hostname : string

certificate : Certificate

validatedCertificate : Certificate

isIssuedByKnownRoot : bool

true if Chromium recognises the root CA as a standard root. If it isn't then it's probably the case that this certificate was generated by a MITM proxy whose root has been installed locally (for example, by a corporate proxy). This should not be trusted if the verificationResult is not OK.

verificationResult : string

OK if the certificate is trusted, otherwise an error like CERT_REVOKED.

errorCode : int

Error code.

Returns: Request

Instance members

Instance member Description

this.certificate

Full Usage: this.certificate

this.errorCode

Full Usage: this.errorCode

Error code.

this.hostname

Full Usage: this.hostname

this.isIssuedByKnownRoot

Full Usage: this.isIssuedByKnownRoot

true if Chromium recognises the root CA as a standard root. If it isn't then it's probably the case that this certificate was generated by a MITM proxy whose root has been installed locally (for example, by a corporate proxy). This should not be trusted if the verificationResult is not OK.

this.validatedCertificate

Full Usage: this.validatedCertificate

this.verificationResult

Full Usage: this.verificationResult

OK if the certificate is trusted, otherwise an error like CERT_REVOKED.

Type something to start searching.