open class KeyFileLoader
(source)
Utility class for loading scuttlebutt keys from the file system.
KeyFileLoader()
Utility class for loading scuttlebutt keys from the file system. |
open static fun getLocalKeys(): KeyPair
Attempts to load the keys from the default scuttlebutt directory (~/.ssb), and throws an exception if the keys are not available at the given path |
|
open static fun loadKeysFromFile(secretPath: String): KeyPair
Attempts to load the scuttlebutt secret key with the supplied file path |