|
|
|
@ -33,7 +33,7 @@ type Authority interface {
|
|
|
|
|
// context specifies the Authorize[Sign|Revoke|etc.] method.
|
|
|
|
|
Authorize(ctx context.Context, ott string) ([]provisioner.SignOption, error)
|
|
|
|
|
AuthorizeSign(ott string) ([]provisioner.SignOption, error)
|
|
|
|
|
AuthorizeRenewToken(ctx context.Context, token string) (*x509.Certificate, error)
|
|
|
|
|
AuthorizeRenewToken(ctx context.Context, ott string) (*x509.Certificate, error)
|
|
|
|
|
GetTLSOptions() *config.TLSOptions
|
|
|
|
|
Root(shasum string) (*x509.Certificate, error)
|
|
|
|
|
Sign(cr *x509.CertificateRequest, opts provisioner.SignOptions, signOpts ...provisioner.SignOption) ([]*x509.Certificate, error)
|
|
|
|
|