Home
Key Pairs / Wallets
This module allows you to create, store, and retrieve key pairs
Create Key Pair
This allows you to create an RSA or ECSDA key pair.
type
string
requiredEither rsa
or ecsda
Upload Key Pair
This allows you to save this key pair with SelfGuard, encrypted with a password
key_pair
object
requiredThe key pair object created in the createKeyPair
method.
password
string
requiredA password that will be used to encrypt the private key.
Get Key Pairs
This allows you to retrieve all encrypted key pairs stored with this account.
Each pair can be decrypted using the decryptWithPassword
helper function.