Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCSR ¶
GenerateCSR generates a PEM-encoded CSR with the given private key for the given hostname.
func GenerateKey ¶
GenerateKey generates a new ECDSA P-256 private key and returns it as a PEM-encoded string.
func GetCertificate ¶
GetCertificate submits the CSR to the server specified by origin and returns a list of certificates. The first certificate is the leaf certificate.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
this is intended to be a hook for use with https://github.com/SSLMate/certspotter/blob/master/man/certspotter-script.md
|
this is intended to be a hook for use with https://github.com/SSLMate/certspotter/blob/master/man/certspotter-script.md |
|
modified from github.com/miekg/dns
|
modified from github.com/miekg/dns |
Click to show internal directories.
Click to hide internal directories.