Documentation
¶
Index ¶
- func DecryptKey(sk string, pvk *rsa.PrivateKey) (string, error)
- func EncryptKey(sk string, pbk *rsa.PublicKey) (string, error)
- func PrivateKeyFromString(pvkStr, sk string) (*rsa.PrivateKey, error)
- func PrivateKeyToString(pvk *rsa.PrivateKey) string
- func PublicKeyFromString(pbkStr string) (*rsa.PublicKey, error)
- func PublicKeyToString(pbk *rsa.PublicKey) string
- type KeyStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptKey ¶
func DecryptKey(sk string, pvk *rsa.PrivateKey) (string, error)
func PrivateKeyFromString ¶
func PrivateKeyFromString(pvkStr, sk string) (*rsa.PrivateKey, error)
func PrivateKeyToString ¶
func PrivateKeyToString(pvk *rsa.PrivateKey) string
func PublicKeyToString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.