The hash the peer certificate's signature uses, by lower-case name: "md5", "sha1", "sha224", "sha256", "sha384" or "sha512". "" when there is no certificate or the algorithm names no hash (Ed25519, unknown OIDs). It reads the certificate's own DER, not the library's view of it.
- stream: the stream whose peer certificate to look at.
peer_certificate_signature_hash :: (stream: *Tls_Stream) -> string
The hash the peer certificate's signature uses, by lower-case name: "md5", "sha1", "sha224", "sha256", "sha384" or "sha512". "" when there is no certificate or the algorithm names no hash (Ed25519, unknown OIDs). It reads the certificate's own DER, not the library's view of it.
Parameters
- stream: *Tls_Stream
- the stream whose peer certificate to look at.
Returns
- string