Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PemBlockType ¶
type PemBlockType string
const ( PemBlockTypePKCS1PrivateKey PemBlockType = "RSA PRIVATE KEY" PemBlockTypePKCS8PrivateKey PemBlockType = "PRIVATE KEY" PemBlockTypeOpenSSHPrivateKey PemBlockType = "OPENSSH PRIVATE KEY" )
func (PemBlockType) String ¶
func (t PemBlockType) String() string
type PemManager ¶
type PemManager struct{}
func NewPemManager ¶
func NewPemManager() *PemManager
func (*PemManager) ReadRSAPrivateKey ¶
func (m *PemManager) ReadRSAPrivateKey(path string) (*rsa.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.