tuweni / org.apache.tuweni.scuttlebutt.lib / KeyFileLoader / getLocalKeys

getLocalKeys

open static fun getLocalKeys(ssbFolder: Path!): KeyPair! (source)

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

Parameters

ssbFolder - Path!: the folder containing the secret file.

Return
KeyPair!: the scuttlebutt key pair