open static fun load(file: Path!): KeyPair! (source)
Load a key pair from a path.
file - Path!: The file containing a private key.
IOException - On a filesystem error.
InvalidSEC256K1SecretKeyStoreException - If the file does not contain a valid key.
Return
KeyPair!: The key pair.