java.lang.Object
com.hedera.hashgraph.sdk.Keystore
Internal utility class to serialize / deserialize between java object / json representation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexport(OutputStream outputStream, String passphrase) static KeystorefromStream(InputStream stream, String passphrase) Get the decoded key from this keystore as anPrivateKey.
-
Constructor Details
-
Keystore
-
-
Method Details
-
fromStream
- Throws:
IOException
-
getEd25519
Get the decoded key from this keystore as anPrivateKey.- Throws:
BadKeyException- if the key bytes are of an incorrect length for a raw private key or private key + public key, or do not represent a DER encoded Ed25519 private key.
-
export
- Throws:
IOException
-