Documentation ¶
Overview ¶
Package krl implements a trivial, in-memory key revocation list. It is a placeholder for a real key revocation mechanism.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KRL ¶
type KRL struct {
// contains filtered or unexported fields
}
A KRL is a key revocation list. It maps the hashes of keys that have been revoked to revocation times.
func (*KRL) RevocationTime ¶
RevocationTime() returns the revocation time for key[]. If key[] is not in the list, a time in the far future is returned.
Click to show internal directories.
Click to hide internal directories.