Documentation
¶
Index ¶
- func ChangePEMBlockPassword(bspem []byte, oldpass []byte, newpass []byte) (ret []byte, err error)
- func GenCertFilesForDomain(d string, dir string) error
- func GenCertFilesForDomainInRootDir(d string)
- func GenCertForDomain(d string) (keybs []byte, certbs []byte, err error)
- func GenPubPrivPair() (pub []byte, priv []byte, err error)
- func GetCATLS() tls.Certificate
- func GetCertFromRoot(d string) *tls.Certificate
- func GetOrGenFromRoot(d string) *tls.Certificate
- func InitCA(rdir string, installca func(ca string)) error
- func PemEncodePrivKey(bs []byte) []byte
- func PemEncodePubKey(bs []byte) []byte
- func SetRootDir(d string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangePEMBlockPassword ¶
Muda Senha de bloco PEM
func GenCertFilesForDomain ¶
func GenCertFilesForDomainInRootDir ¶
func GenCertFilesForDomainInRootDir(d string)
func GenPubPrivPair ¶
Gera par publico e privado em formato x509 - PKCS1
func GetCATLS ¶
func GetCATLS() tls.Certificate
func GetCertFromRoot ¶
func GetCertFromRoot(d string) *tls.Certificate
func GetOrGenFromRoot ¶
func GetOrGenFromRoot(d string) *tls.Certificate
func PemEncodePrivKey ¶
func PemEncodePubKey ¶
func SetRootDir ¶
func SetRootDir(d string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.