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

loadKeysFromFile

open static fun loadKeysFromFile(secretPath: Path!): KeyPair! (source)

Attempts to load the scuttlebutt secret key with the supplied file path

Parameters

secretPath - Path!: the filepath to the scuttlebutt secret key to load

Return
KeyPair!: the scuttlebutt key pair