Package org.stellar.sdk.xdr
Class HmacSha256Key
java.lang.Object
org.stellar.sdk.xdr.HmacSha256Key
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HmacSha256Keydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, HmacSha256Key encodedHmacSha256Key) booleanstatic HmacSha256KeyfromXdrBase64(String xdr) static HmacSha256KeyfromXdrByteArray(byte[] xdr) byte[]getKey()inthashCode()voidsetKey(byte[] value) byte[]
-
Constructor Details
-
HmacSha256Key
public HmacSha256Key()
-
-
Method Details
-
getKey
public byte[] getKey() -
setKey
public void setKey(byte[] value) -
encode
public static void encode(XdrDataOutputStream stream, HmacSha256Key encodedHmacSha256Key) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-