Interface nsITransportSecurityInfoType

Hierarchy

Properties

certificateTransparencyStatus: number
cipherName: string
errorCode: number
errorCodeString: string
isAcceptedEch: boolean
isBuiltCertChainRootBuiltInRoot: boolean

True iff the succeededCertChain is built in root.

isDelegatedCredential: boolean
isExtendedValidation: boolean

True only if (and after) serverCert was successfully validated as Extended Validation (EV).

keaGroupName: string
keyLength: number
madeOCSPRequests: boolean

True if OCSP requests were made to query the status of certificates used in this connection.

negotiatedNPN: string

negotiatedNPN is '' if no NPN list was provided by the client, or if the server did not select any protocol choice from that list. That also includes the case where the server does not implement NPN.

If negotiatedNPN is read before NPN has progressed to the point where this information is available NS_ERROR_NOT_CONNECTED is raised.

overridableErrorCategory: nsITransportSecurityInfo_OverridableErrorCategory
peerId: string

The id used to uniquely identify the connection to the peer.

protocolVersion: number
resumed: boolean

True iff the connection was resumed using the resumption token.

secretKeyLength: number
securityState: number
serverCert: nsIX509Cert
signatureSchemeName: string
usedPrivateDNS: boolean

True if the DNS record used for this connection was fetched over an encrypted connection.

Methods

  • Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aWriter: IpcMessageWriterPtr

    Returns void

  • Serializes the data represented in this interface to a base64-encoded string that can be deserialized using TransportSecurityInfo::Read.

    Returns string

Generated using TypeDoc