Package org.stellar.sdk.xdr
Class HmacSha256Key
java.lang.Object
org.stellar.sdk.xdr.HmacSha256Key
HmacSha256Key's original definition in the XDR file is:
struct HmacSha256Key { opaque key[32]; };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static HmacSha256Key
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static HmacSha256Key
fromXdrBase64
(String xdr) static HmacSha256Key
fromXdrByteArray
(byte[] xdr) byte[]
getKey()
int
hashCode()
void
setKey
(byte[] key) toString()
default String
default byte[]
-
Constructor Details
-
HmacSha256Key
public HmacSha256Key() -
HmacSha256Key
public HmacSha256Key(byte[] key)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getKey
public byte[] getKey() -
setKey
public void setKey(byte[] key) -
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-