Documentation ¶
Index ¶
- func Marshal(cert *x509.Certificate, key crypto.Signer) ([]byte, []byte, error)
- func NewCA(cn string, org ...string) (*x509.Certificate, crypto.Signer, error)
- func NewPrivateKey() (crypto.Signer, error)
- func NewSignedClientCert(signee crypto.Signer, issuer *x509.Certificate, signer crypto.Signer, ...) (*x509.Certificate, error)
- func Unmarshal(certPem, keyPem []byte) (*x509.Certificate, crypto.Signer, error)
- type NewCertFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPrivateKey ¶
func NewSignedClientCert ¶
func NewSignedClientCert(signee crypto.Signer, issuer *x509.Certificate, signer crypto.Signer, cn string) (*x509.Certificate, error)
Types ¶
type NewCertFunc ¶
type NewCertFunc func(self crypto.Signer, ca *x509.Certificate, signer crypto.Signer, cn string) (*x509.Certificate, error)
func NewSignedCertFunc ¶
func NewSignedCertFunc(orgs []string, domains []string, ips []net.IP) NewCertFunc
Click to show internal directories.
Click to hide internal directories.