Documentation ¶
Index ¶
- func DecryptToken(priv *rsa.PrivateKey, encryptedToken cloudv1alpha1.EncryptedToken) (string, error)
- func ExportPrivateKey(key *rsa.PrivateKey) string
- func ExportPublicKey(key *rsa.PrivateKey) (*cloudv1alpha1.EncryptionKey, error)
- func GenerateEncryptionKey() (*rsa.PrivateKey, error)
- func ImportPrivateKey(pemKey string) (*rsa.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptToken ¶
func DecryptToken(priv *rsa.PrivateKey, encryptedToken cloudv1alpha1.EncryptedToken) (string, error)
func ExportPrivateKey ¶
func ExportPrivateKey(key *rsa.PrivateKey) string
func ExportPublicKey ¶
func ExportPublicKey(key *rsa.PrivateKey) (*cloudv1alpha1.EncryptionKey, error)
func GenerateEncryptionKey ¶
func GenerateEncryptionKey() (*rsa.PrivateKey, error)
func ImportPrivateKey ¶
func ImportPrivateKey(pemKey string) (*rsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.