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