mirror of
https://github.com/status-im/status-console-client.git
synced 2025-02-25 09:05:29 +00:00
11 lines
260 B
Go
11 lines
260 B
Go
package adapters
|
|
|
|
import "crypto/ecdsa"
|
|
|
|
type keysManager interface {
|
|
PrivateKey() *ecdsa.PrivateKey
|
|
AddOrGetKeyPair(priv *ecdsa.PrivateKey) (string, error)
|
|
AddOrGetSymKeyFromPassword(password string) (string, error)
|
|
GetRawSymKey(string) ([]byte, error)
|
|
}
|