Documentation ¶
Index ¶
- func IsPEMBlock(data []byte) bool
- func LoadRSAKeyFromPEM(keydata []byte) (*rsa.PrivateKey, error)
- func LoadRSAKeyFromPath(path string) (*rsa.PrivateKey, error)
- func LoadSinglePEMBlock(data []byte, expected_types []string) ([]byte, error)
- func LoadX509CSRFromPEM(certdata []byte) (*x509.CertificateRequest, error)
- func LoadX509CertFromPEM(certdata []byte) (*x509.Certificate, error)
- func LoadX509FromPath(path string) (*x509.Certificate, error)
- func ParseSSHTextPubkey(content []byte) (ssh.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPEMBlock ¶
func LoadRSAKeyFromPEM ¶
func LoadRSAKeyFromPEM(keydata []byte) (*rsa.PrivateKey, error)
func LoadRSAKeyFromPath ¶
func LoadRSAKeyFromPath(path string) (*rsa.PrivateKey, error)
func LoadSinglePEMBlock ¶
func LoadX509CSRFromPEM ¶
func LoadX509CSRFromPEM(certdata []byte) (*x509.CertificateRequest, error)
func LoadX509CertFromPEM ¶
func LoadX509CertFromPEM(certdata []byte) (*x509.Certificate, error)
func LoadX509FromPath ¶
func LoadX509FromPath(path string) (*x509.Certificate, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.