Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.62 KB

kibana-plugin-core-server.ikibanasocket.md

File metadata and controls

29 lines (19 loc) · 1.62 KB

Home > kibana-plugin-core-server > IKibanaSocket

IKibanaSocket interface

A tiny abstraction for TCP socket.

Signature:

export interface IKibanaSocket 

Properties

Property Type Description
authorizationError Error The reason why the peer's certificate has not been verified. This property becomes available only when authorized is false.
authorized boolean Indicates whether or not the peer certificate was signed by one of the specified CAs. When TLS isn't used the value is undefined.

Methods

Method Description
getPeerCertificate(detailed)
getPeerCertificate(detailed)
getPeerCertificate(detailed) Returns an object representing the peer's certificate. The returned object has some properties corresponding to the field of the certificate. If detailed argument is true the full chain with issuer property will be returned, if false only the top certificate without issuer property. If the peer does not provide a certificate, it returns null.