Documentation ¶
Index ¶
- type IndexConfig
- type IndexTXT
- func (txt *IndexTXT) AddIndex(cfg *IndexConfig) error
- func (txt *IndexTXT) Del(ctx context.Context, id ca.KeyID) error
- func (txt *IndexTXT) Get(ctx context.Context, id ca.KeyID) (*x509.Certificate, ca.CertStatus, error)
- func (txt *IndexTXT) Put(ctx context.Context, cert *x509.Certificate) error
- func (txt *IndexTXT) Revoke(ctx context.Context, id ca.KeyID) error
- func (txt *IndexTXT) Status(ctx context.Context, id ca.KeyID) (ca.CertStatus, error)
- func (txt *IndexTXT) Sync() error
- func (txt *IndexTXT) WatchFiles(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexConfig ¶
type IndexTXT ¶
type IndexTXT struct {
// contains filtered or unexported fields
}
func EmptyIndex ¶
func EmptyIndex() *IndexTXT
func (*IndexTXT) AddIndex ¶
func (txt *IndexTXT) AddIndex(cfg *IndexConfig) error
func (*IndexTXT) Get ¶
func (txt *IndexTXT) Get(ctx context.Context, id ca.KeyID) (*x509.Certificate, ca.CertStatus, error)
Click to show internal directories.
Click to hide internal directories.