Documentation
¶
Index ¶
Constants ¶
View Source
const ( ACME_KEY_TYPE_EC256 = "EC256" ACME_KEY_TYPE_EC384 = "EC384" ACME_KEY_TYPE_RSA2048 = "RSA2048" ACME_KEY_TYPE_RSA4096 = "RSA4096" ACME_KEY_TYPE_RSA8192 = "RSA8192" )
View Source
const ( // NetScaler specific challenge types are defined in package netscaleradc ACME_CHALLENGE_TYPE_HTTP = "http" ACME_CHALLENGE_TYPE_DNS = "dns" )
View Source
const ( ACME_SERVICE_LETSENCRYPT_PRODUCTION = "LE_PRODUCTION" ACME_SERVICE_LETSENCRYPT_PRODUCTION_URL = "https://acme-staging-v02.api.letsencrypt.org/directory" ACME_SERVICE_LETSENCRYPT_STAGING = "LE_STAGING" ACME_SERVICE_LETSENCRYPT_STAGING_URL = "https://acme-staging-v02.api.letsencrypt.org/directory" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcmeRequest ¶
type AcmeRequest struct { Organization string `json:"organization" yaml:"organization" mapstructure:"organization"` Environment string `json:"environment" yaml:"environment" mapstructure:"environment"` Username string `json:"username" yaml:"username" mapstructure:"username"` ChallengeService string `json:"service" yaml:"service" mapstructure:"service"` ChallengeType string `json:"type" yaml:"type" mapstructure:"type"` KeyType string `json:"keytype" yaml:"keyType" mapstructure:"keyType"` CommonName string `json:"commonName" yaml:"commonName" mapstructure:"commonName"` SubjectAlternativeNames []string `json:"subjectAlternativeNames" yaml:"subjectAlternativeNames" mapstructure:"subjectAlternativeNames"` }
func (AcmeRequest) GetChallengeProvider ¶
func (r AcmeRequest) GetChallengeProvider(environment registry.Environment, timestamp string) (challenge.Provider, error)
func (AcmeRequest) GetDomains ¶
func (r AcmeRequest) GetDomains() []string
func (AcmeRequest) GetKeyType ¶
func (r AcmeRequest) GetKeyType() certcrypto.KeyType
func (AcmeRequest) GetServiceUrl ¶
func (r AcmeRequest) GetServiceUrl() string
type Application ¶
type Application struct { ConfigPath string `json:"configPath" yaml:"configPath" mapstructure:"configPath"` Daemon Daemon `json:"daemon" yaml:"daemon" mapstructure:"daemon"` Organizations []registry.Organization `json:"organizations" yaml:"organizations" mapstructure:"organizations"` Users []AcmeUser `json:"users", yaml:"users" mapstructure:"users"` }
type Certificate ¶
type Certificate struct { Name string `json:"name" yaml:"name" mapstructure:"name"` AcmeRequest AcmeRequest `json:"acmeRequest" yaml:"acmeRequest" mapstructure:"acmeRequest"` Bindpoints []Bindpoint `json:"bindpoints" yaml:"bindpoints" mapstructure:"bindpoints"` }
Click to show internal directories.
Click to hide internal directories.