Versions in this module Expand all Collapse all v0 v0.1.1-rc1 May 31, 2022 v0.1.0 May 29, 2022 Changes in this version + func Grab(network, ip, port string, timeout time.Duration, servername string) ([]x509.Certificate, error) + func Verify(certs []x509.Certificate, servername string) error + type Additional struct + CommonName string + Hash [32]byte + Issuer string + NotAfter time.Time + PublicKey PubKey + SignatureAlgorithm x509.SignatureAlgorithm + type Cert struct + AlternativeNames []string + Chain []Additional + CommonName string + Hash [32]byte + Issuer string + NotAfter time.Time + NotBefore time.Time + PublicKey PubKey + SerialNumber *big.Int + SignatureAlgorithm x509.SignatureAlgorithm + Verified bool + VerifiedError error + func Scan(network, ip, port string, timeout time.Duration, servername string) (Cert, error) + type PubKey struct + Algo x509.PublicKeyAlgorithm + Key any