tls_inspector 0.0.2
tls_inspector: ^0.0.2 copied to clipboard
Inspect a server's TLS certificate: issuer, validity dates, days until expiry, subject alternative names, SHA-1 fingerprint, and trust status.
0.0.2 #
- Add
TlsCertificateInfo.coversHost, which matches a host name against the subject alternative names, including single-label wildcards. - Add
TlsCertificateInfo.derwith the DER-encoded certificate. - Add pub.dev and CI badges to the README.
0.0.1 #
- Initial release.
inspectTlsconnects to a host, completes a TLS handshake, and returns aTlsCertificateInfowith subject, issuer, validity dates, subject alternative names, SHA-1 fingerprint, PEM, and whether the platform trusted the certificate.parseSubjectAltNamesreads DNS names and IP addresses from a DER-encoded certificate on every platform, including the web.TlsInspectExceptionreportstimeout,connect_failed, andhandshake_failed.