Documentation
¶
Overview ¶
Package devpki generates ephemeral keys, certificates and a local RFC 3161 timestamp authority for tests and synthetic fixtures. Nothing it creates is persisted or trusted outside the process that created it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cert ¶
type Cert struct {
// Cert is the parsed certificate.
Cert *x509.Certificate
// Key is the private key matching Cert.
Key crypto.Signer
}
Cert is a certificate with its private key.
type Set ¶
type Set struct {
// SealRoot is the CA that issued Seal.
SealRoot Cert
// Seal is the document-sealing certificate.
Seal Cert
// TSARoot is the CA that issued TSA.
TSARoot Cert
// TSA is the timestamp authority certificate.
TSA Cert
// KeyListRoot signs key lists; verifiers pin its thumbprint.
KeyListRoot *ecdsa.PrivateKey
// EvidenceKey signs evidence. It is the same key as Seal.Key, as in production.
EvidenceKey *ecdsa.PrivateKey
}
Set is a complete development PKI.