Documentation ¶
Index ¶
Constants ¶
View Source
const ( SerialOctets = 20 SerialBits = 8 * SerialOctets )
Variables ¶
View Source
var ( ErrCertNotFound = errors.New("certificate not found") ErrCertExpired = errors.New("certificate is expired") )
Functions ¶
This section is empty.
Types ¶
type Responder ¶
type Responder struct { Signer KeyPair CA *x509.Certificate }
type ResponderDB ¶
type ResponderDB interface { // Get a responder by key hash. Get(context.Context, []byte) (*Responder, error) // Insert a new responder Put(context.Context, *Responder) error // Delete a responder Del(context.Context, []byte) error // Find the responder keys given a leaf certificate Find(context.Context, *x509.Certificate) (*Responder, error) }
Click to show internal directories.
Click to hide internal directories.