@ApiAudience.Public @ApiStability.Unstable public class EncryptedPrivateKey extends java.lang.Object implements Encodable
Modifier and Type | Field and Description |
---|---|
protected BytesValue |
bytesValue |
Constructor and Description |
---|
EncryptedPrivateKey(BytesValue bytesValue)
EncryptedPrivateKey constructor.
|
EncryptedPrivateKey(java.lang.String encoded)
EncryptedPrivateKey constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEncoded()
Get encoded value.
|
static EncryptedPrivateKey |
of(BytesValue bytesValue)
Create
EncryptedPrivateKey . |
static EncryptedPrivateKey |
of(java.lang.String encoded)
Create
EncryptedPrivateKey with a base58 with checksum encoded value. |
java.lang.String |
toString() |
protected final BytesValue bytesValue
@ApiAudience.Public public EncryptedPrivateKey(java.lang.String encoded)
encoded
- a base58 with checksum encoded encoded valueDecodingFailureException
- if decoding failed@ApiAudience.Private public EncryptedPrivateKey(BytesValue bytesValue)
bytesValue
- BytesValue
@ApiAudience.Public public static EncryptedPrivateKey of(java.lang.String encoded)
EncryptedPrivateKey
with a base58 with checksum encoded value.encoded
- a base58 with checksum encoded encoded valueEncryptedPrivateKey
DecodingFailureException
- if decoding failed@ApiAudience.Private public static EncryptedPrivateKey of(BytesValue bytesValue)
EncryptedPrivateKey
.bytesValue
- BytesValue
EncryptedPrivateKey
public java.lang.String getEncoded()
Encodable
getEncoded
in interface Encodable
public java.lang.String toString()
toString
in class java.lang.Object