Documentation ¶
Index ¶
- Constants
- func LoadCertificateChain(file afs.Path) (dto.CertChain, error)
- func LoadContainerConfig(file afs.Path) (*vo.ContainerConfig, error)
- func LoadDomainConfig(file afs.Path) (*vo.DomainConfig, error)
- func LoadPrivateKeyRSA(file afs.Path) (*rsa.PrivateKey, error)
- func LoadProperties(file afs.Path) (properties.Table, error)
- func SaveCertificateChain(chain dto.CertChain, file afs.Path) error
- func SavePrivateKeyRSA(pk *rsa.PrivateKey, dst afs.Path) error
- func SaveProperties(p properties.Table, file afs.Path) error
- type ContainerConfigLoader
- type ContainerConfigSaver
- type DomainConfigLoader
- type DomainConfigSaver
Constants ¶
View Source
const (
BlockTypeRSAPrivateKey = "RSA PRIVATE KEY"
)
定义 pem.Block 类型
Variables ¶
This section is empty.
Functions ¶
func LoadCertificateChain ¶
LoadCertificateChain ...
func LoadContainerConfig ¶
func LoadContainerConfig(file afs.Path) (*vo.ContainerConfig, error)
LoadContainerConfig ...
func LoadDomainConfig ¶
func LoadDomainConfig(file afs.Path) (*vo.DomainConfig, error)
LoadDomainConfig ...
func LoadPrivateKeyRSA ¶
func LoadPrivateKeyRSA(file afs.Path) (*rsa.PrivateKey, error)
LoadPrivateKeyRSA ...
func LoadProperties ¶
func LoadProperties(file afs.Path) (properties.Table, error)
LoadProperties ...
func SaveCertificateChain ¶
SaveCertificateChain ...
func SavePrivateKeyRSA ¶
func SavePrivateKeyRSA(pk *rsa.PrivateKey, dst afs.Path) error
SavePrivateKeyRSA ...
func SaveProperties ¶
func SaveProperties(p properties.Table, file afs.Path) error
SaveProperties ...
Types ¶
type ContainerConfigLoader ¶
type ContainerConfigLoader struct { }
ContainerConfigLoader ...
func (*ContainerConfigLoader) Load ¶
func (inst *ContainerConfigLoader) Load(file afs.Path) (*vo.ContainerConfig, error)
Load ...
type DomainConfigLoader ¶
type DomainConfigLoader struct { }
DomainConfigLoader ...
func (*DomainConfigLoader) Load ¶
func (inst *DomainConfigLoader) Load(file afs.Path) (*vo.DomainConfig, error)
Load ...
type DomainConfigSaver ¶
type DomainConfigSaver struct { }
Click to show internal directories.
Click to hide internal directories.