class SecretKey : Destroyable
(source)
A SECP256K1 private key.
bytes |
Provides the bytes of the key. open fun bytes(): Bytes32! |
bytesArray |
Provides the bytes of the key. open fun bytesArray(): ByteArray! |
destroy |
open fun destroy(): Unit |
equals |
open fun equals(other: Any?): Boolean |
finalize |
open fun finalize(): Unit |
fromBytes |
Create the private key from bytes. open static fun fromBytes(bytes: Bytes32!): SecretKey! |
fromInteger |
Create the private key from a open static fun fromInteger(key: BigInteger!): SecretKey! |
hashCode |
open fun hashCode(): Int |
load |
Load a private key from a file. open static fun load(file: Path!): SecretKey! |
store |
Write the secret key to a file. open fun store(file: Path!): Unit |