Documentation
¶
Index ¶
- func DecodeCertificate(s string) ([]byte, *x509.Certificate, error)
- func DecodeCertificateHandler(s string) func() (*x509.CertPool, error)
- func DecodeKey(s string) (crypto.PrivateKey, error)
- func EncodeCertificate(cert, parent *x509.Certificate, publicKey crypto.PublicKey, ...) (string, error)
- func EncodeKey(privateKey crypto.PrivateKey) (string, error)
- func GenerateKey() (*ecdsa.PrivateKey, error)
- func NewCertificateTemplate() (*x509.Certificate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeCertificate ¶
func DecodeCertificate(s string) ([]byte, *x509.Certificate, error)
func EncodeCertificate ¶
func EncodeCertificate(cert, parent *x509.Certificate, publicKey crypto.PublicKey, privateKey crypto.PrivateKey) (string, error)
func GenerateKey ¶
func GenerateKey() (*ecdsa.PrivateKey, error)
func NewCertificateTemplate ¶
func NewCertificateTemplate() (*x509.Certificate, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.