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