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