-
Notifications
You must be signed in to change notification settings - Fork 1
Keybase
JaapWijnen edited this page Mar 9, 2021
·
2 revisions
public protocol Keybasefunc list() throws -> [KeyInfo]func get(name: String) throws -> KeyInfofunc getByAddress(address: AccountAddress) throws -> KeyInfofunc delete(name: String, passphrase: String, skipPass: Bool) throwsfunc sign(name: String, passphrase: String, message: Data) throws -> (Data, PublicKeyProtocol)func createMnemonic(name: String, language: Language, password: String, algorithm: SigningAlgorithm) throws -> (info: KeyInfo, seed: String)func createAccount(name: String, mnemonic: String, bip39Password: String, encryptPassword: String, hdPath: String, algorithm: SigningAlgorithm) throws -> KeyInfofunc createLedger(name: String, algorithm: SigningAlgorithm, humanReadablePart: String, account: UInt32, index: UInt32) throws -> KeyInfofunc createOffline(name: String, publicKey: PublicKeyProtocol, algorithm: SigningAlgorithm) throws -> KeyInfofunc createMulti(name: String, publicKey: PublicKeyProtocol) throws -> KeyInfofunc update(name: String, oldPassword: String, getNewPassword: () throws -> String) throwsfunc `import`(name: String, armor: String) throwsfunc importPrivateKey(name: String, armor: String, passphrase: String) throwsfunc importPublicKey(name: String, armor: String) throwsfunc export(name: String) throws -> Stringfunc exportPublicKey(name: String) throws -> Stringfunc exportPrivateKey(name: String, decryptPassphrase: String, encryptPassphrase: String) throws -> Stringfunc exportPrivateKeyObject(name: String, passphrase: String) throws -> PrivateKeyvar supportedAlgorithms: [SigningAlgorithm]var supportedAlgorithmsLedger: [SigningAlgorithm]func closeDatabase()Generated at 2021-04-21T13:08:01+0000 using swift-doc 1.0.0-beta.5.
Types
- BuyName
- BuyNameMessage
- DeleteName
- DeleteNameMessage
- GenesisState
- GetWhois
- KeysOptions
- ListWhois
- NameServiceApp
- NameServiceAppModule
- NameServiceAppModuleBasic
- NameServiceKeeper
- NameServiceKeys
- QueryCommand
- QueryNameserviceCommand
- ResolveName
- SetName
- SetNameMessage
- TransactionCommand
- TransactionNameserviceCommand
- Whois