rsa

package
v0.0.0-...-e08ea49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL