Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct {
}
type CertificateResult ¶
CertificateResult holds the result of certificate generation
type Inca ¶
type JSONCrt ¶
type JSONCrt struct {
CN string `json:"name"`
AltNames []string `json:"alt"`
NotBefore string `json:"not_before"`
NotAfter string `json:"not_after"`
Organization string `json:"organization"`
Country string `json:"country"`
Province string `json:"province"`
Locality string `json:"locality"`
StreetAddress string `json:"street_address"`
PostalCode string `json:"postal_code"`
Provider JSONProvider `json:"provider"`
}
type JSONProvider ¶
func EncodeProvider ¶
func EncodeProvider(provider *provider.Provider) JSONProvider
func EncodeProviders ¶
func EncodeProviders(providers []*provider.Provider) (encoded []JSONProvider)
type JSONStorage ¶
type JSONStorage JSONProvider
func EncodeStorage ¶
func EncodeStorage(storage *storage.Storage) JSONStorage
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
SPDX-FileCopyrightText: 2020 Eder Sosa <eder.sohe@gmail.com> SPDX-License-Identifier: MIT
|
SPDX-FileCopyrightText: 2020 Eder Sosa <eder.sohe@gmail.com> SPDX-License-Identifier: MIT |
Click to show internal directories.
Click to hide internal directories.