Documentation ¶
Index ¶
- func Decode(data []byte, blockType string) (*pem.Block, error)
- func DecodeCertificate(data []byte) (*pem.Block, error)
- func Encode(data []byte, blockType string) ([]byte, error)
- func EncodeCertificateRequestDER(der []byte) ([]byte, error)
- func EncodeRSAPrivateKey(p *rsa.PrivateKey) ([]byte, error)
- func LoadCertPool(cert string) (*x509.CertPool, error)
- type Auth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeRSAPrivateKey ¶
func EncodeRSAPrivateKey(p *rsa.PrivateKey) ([]byte, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.