open class KeyFileLoader
(source)
Utility class for loading scuttlebutt keys from the file system.
<init> |
Utility class for loading scuttlebutt keys from the file system. KeyFileLoader() |
getLocalKeys |
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 getLocalKeys(): KeyPair! |
loadKeysFromFile |
Attempts to load the scuttlebutt secret key with the supplied file path open static fun loadKeysFromFile(secretPath: String!): KeyPair! |