Documentation ¶
Index ¶
- func NewHandler(FQDN string, dir string, port uint16, signers []Signer) (http.Handler, error)
- type ACME
- func (ACME) AuthorizeRenewal(cert *x509.Certificate) error
- func (ACME) AuthorizeRevoke(token string) error
- func (a ACME) AuthorizeSign(ctx context.Context, token string) ([]provisioner.SignOption, error)
- func (p ACME) GetEncryptedKey() (string, string, bool)
- func (p ACME) GetID() string
- func (p ACME) GetName() string
- func (p ACME) GetTokenID(ott string) (string, error)
- func (p ACME) GetType() provisioner.Type
- func (ACME) Init(config provisioner.Config) error
- type ProvisionerName
- type Signer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ACME ¶
type ACME struct {
ProvisionerName ProvisionerName
}
ACME is the acme provisioner type, an entity that can authorize the ACME provisioning flow.
func (ACME) AuthorizeRenewal ¶
func (ACME) AuthorizeRenewal(cert *x509.Certificate) error
AuthorizeRenewal is not implemented for the ACME provisioner.
func (ACME) AuthorizeRevoke ¶
AuthorizeRevoke is not implemented yet for the ACME provisioner.
func (ACME) AuthorizeSign ¶
func (a ACME) AuthorizeSign(ctx context.Context, token string) ([]provisioner.SignOption, error)
AuthorizeSign validates the given token.
func (ACME) GetEncryptedKey ¶
GetEncryptedKey returns the base provisioner encrypted key if it's defined.
func (ACME) GetTokenID ¶
GetTokenID returns the identifier of the token.
func (ACME) GetType ¶
func (p ACME) GetType() provisioner.Type
GetType returns the type of provisioner.
Click to show internal directories.
Click to hide internal directories.