Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKeyPair ¶
func GenerateKeyPair() (ed25519.PublicKey, ed25519.PrivateKey, error)
Types ¶
type KeyManager ¶
type KeyManager struct {
// contains filtered or unexported fields
}
func GetKeyManagerInstance ¶
func GetKeyManagerInstance() *KeyManager
func (*KeyManager) GetPrivateKey ¶
func (k *KeyManager) GetPrivateKey() ed25519.PrivateKey
func (*KeyManager) GetPublicKey ¶
func (k *KeyManager) GetPublicKey() ed25519.PublicKey
func (*KeyManager) ParseEd25519Key ¶
func (k *KeyManager) ParseEd25519Key() error
Click to show internal directories.
Click to hide internal directories.