Documentation
¶
Overview ¶
Some helpers for converting keys between formats
Index ¶
- func LoadBytes(path string) []byte
- func LoadKey(path string) *msgs.PublicKey
- func LoadPrivateKey(path string) *msgs.PrivateKey
- func PackKey(k *rsa.PublicKey) *msgs.PublicKey
- func PackPrivateKey(k *rsa.PrivateKey) *msgs.PrivateKey
- func StringKey(k *msgs.PublicKey) string
- func UnpackKey(k *msgs.PublicKey) *rsa.PublicKey
- func UnpackPrivateKey(k *msgs.PrivateKey) *rsa.PrivateKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.