Postgres module

tls_server_end_point

procedure · 1 overloadsince 0.27.0Source

The hash of the server's certificate for tls-server-end-point: the certificate's own signature hash, with MD5 and SHA-1 raised to SHA-256. Empty when the signature uses no hash (Ed25519) or one this client cannot compute.

tls_server_end_point :: (stream: *Tls.Tls_Stream) -> string

The hash of the server's certificate for tls-server-end-point: the certificate's own signature hash, with MD5 and SHA-1 raised to SHA-256. Empty when the signature uses no hash (Ed25519) or one this client cannot compute.

Parameters

stream: *Tls.Tls_Stream
the TLS stream whose peer certificate is hashed.

Returns

string

See also