Documentation
¶
Overview ¶
Package certrevocation serves client certificate revocation to operators.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(log *slog.Logger, ec *aes.Client, revocations *rpc.CertRevocations, apiSerial string) *Server
NewServer takes the serial of the coordinator's API certificate because the coordinator dials itself with that certificate, so revoking it would cut the coordinator off from its own entity store, and the set only grows, so a restart would not bring it back.
func (*Server) List ¶
func (s *Server) List(ctx context.Context, state *certrevocation_v1alpha.CertRevocationsList) error
func (*Server) Revoke ¶
func (s *Server) Revoke(ctx context.Context, state *certrevocation_v1alpha.CertRevocationsRevoke) error
Click to show internal directories.
Click to hide internal directories.