Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator interface { // Start starts the validator. Start(context.Context) error // Validate validates the identity of a certificate request. // Returns the Trust Domain of the certificate requester, and whether the // signed certificates duration should be overridden to the maximum time // permitted by the singing certificate. Validate(context.Context, *sentryv1pb.SignCertificateRequest) (spiffeid.TrustDomain, error) }
Validator is used to validate the identity of a certificate requester by using an ID and token. Returns the trust domain of the certificate requester.
Click to show internal directories.
Click to hide internal directories.