Documentation ¶
Index ¶
- func Run(config *config.Server) error
- type AboutInfo
- type BasicConstraintsSpec
- type CA
- type CAs
- type Entries
- type EntriesFilter
- type Entry
- type EntryDetails
- type EntryDetailsAttribute
- type EntryDetailsGroup
- type ErrorResponse
- type ExtKeyUsageSpec
- type ExtensionSpec
- type Generate
- type GenerateACME
- type GenerateLocal
- type GenerateRemote
- type IssuersFilter
- type KeyUsageSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BasicConstraintsSpec ¶
type BasicConstraintsSpec struct { ExtensionSpec CA bool `json:"ca"` PathLenConstraint int `json:"pathLenConstraint"` }
type EntriesFilter ¶
<- /api/entries
type Entry ¶
type Entry struct { Name string `json:"name"` DN string `json:"dn"` Serial *big.Int `json:"serial"` KeyType string `json:"keyType"` Key bool `json:"key"` CRT bool `json:"crt"` CSR bool `json:"csr"` CRL bool `json:"crl"` CA bool `json:"ca"` ValidFrom string `json:"validFrom"` ValidTo string `json:"validTo"` KeyUsage x509.KeyUsage `json:"keyUsage"` }
type EntryDetails ¶
type EntryDetails struct { Name string `json:"name"` Groups []EntryDetailsGroup `json:"groups"` }
<- /api/details/:name
type EntryDetailsAttribute ¶
type EntryDetailsGroup ¶
type EntryDetailsGroup struct { Title string `json:"title"` Attributes []EntryDetailsAttribute `json:"attributes"` }
func (*EntryDetailsGroup) Empty ¶
func (group *EntryDetailsGroup) Empty() bool
type ExtKeyUsageSpec ¶
type ExtKeyUsageSpec struct { ExtensionSpec Any bool `json:"any"` ServerAuth bool `json:"serverAuth"` ClientAuth bool `json:"clientAuth"` CodeSigning bool `json:"codeSigning"` EmailProtection bool `json:"emailProtection"` IPSECEndSystem bool `json:"ipsecEndSystem"` IPSECTunnel bool `json:"ipsecTunnel"` IPSECUser bool `json:"ipsecUser"` TimeStamping bool `json:"timeStamping"` OCSPSigning bool `json:"ocspSigning"` MicrosoftServerGatedCrypto bool `json:"microsoftServerGatedCrypto"` NetscapeServerGatedCrypto bool `json:"netscapeServerGatedCrypto"` MicrosoftCommercialCodeSigning bool `json:"microsoftCommercialCodeSigning"` MicrosoftKernelCodeSigning bool `json:"microsoftKernelCodeSigning"` }
type ExtensionSpec ¶
type ExtensionSpec struct {
Enabled bool `json:"enabled"`
}
type GenerateACME ¶
type GenerateACME struct { Generate Domains []string `json:"domains"` KeyType string `json:"keyType"` }
<- /api/generate/acme
type GenerateLocal ¶
type GenerateLocal struct { Generate DN string `json:"dn"` KeyType string `json:"keyType"` Issuer string `json:"issuer"` ValidFrom time.Time `json:"validFrom"` ValidTo time.Time `json:"validTo"` KeyUsage KeyUsageSpec `json:"keyUsage"` ExtKeyUsage ExtKeyUsageSpec `json:"extKeyUsage"` BasicConstraints BasicConstraintsSpec `json:"basicConstraints"` }
type GenerateRemote ¶
<- /api/generate/remote
type IssuersFilter ¶
<- /api/issuers
type KeyUsageSpec ¶
type KeyUsageSpec struct { ExtensionSpec KeyUsage x509.KeyUsage `json:"keyUsage"` }
Click to show internal directories.
Click to hide internal directories.