crtsh

package module
v0.0.0-...-df15b6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: MIT Imports: 6 Imported by: 0

README

crt.sh Golang Client

This is a tiny and useless client in golang for retrieving certificate data from the website crt.sh, which is a web interface (Run by Comodo) for the distributed database known as the certificate transparency logs. Please see 'What is Certificate Transparency?' for more information.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cert

type Cert struct {
	IssuerCaID     int    `json:"issuer_ca_id"`
	IssuerName     string `json:"issuer_name"`
	NameValue      string `json:"name_value"`
	ID             int64  `json:"id"`
	EntryTimestamp string `json:"entry_timestamp"`
	NotBefore      string `json:"not_before"`
	NotAfter       string `json:"not_after"`
}

Cert struct matching json response of crt.sh api.

func GetCerts

func GetCerts(query interface{}) []Cert

GetCerts by domain name, organization name or certificate fingerprint. Input parameter as 'string' for single query, input as slice for joining multiple queries/responses.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL