Documentation ¶
Index ¶
- func GenerateRSAKeypair() (*rsa.PrivateKey, error)
- func GetRSAPublicKey(privateKeyPath string) (*rsa.PublicKey, error)
- func ParseRSAPrivateKey(privateKeyPath string) (*rsa.PrivateKey, error)
- func SaveRSAKey(privateKey *rsa.PrivateKey) (privateKeyBuffer *bytes.Buffer, err error)
- func UnmarshalRSAPrivateKey(privateKey []byte) (*rsa.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRSAKeypair ¶
func GenerateRSAKeypair() (*rsa.PrivateKey, error)
func ParseRSAPrivateKey ¶
func ParseRSAPrivateKey(privateKeyPath string) (*rsa.PrivateKey, error)
func SaveRSAKey ¶
func SaveRSAKey(privateKey *rsa.PrivateKey) (privateKeyBuffer *bytes.Buffer, err error)
func UnmarshalRSAPrivateKey ¶
func UnmarshalRSAPrivateKey(privateKey []byte) (*rsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.