Package org.stellar.sdk.xdr
Class HmacSha256Mac
java.lang.Object
org.stellar.sdk.xdr.HmacSha256Mac
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HmacSha256Macdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, HmacSha256Mac encodedHmacSha256Mac) booleanstatic HmacSha256MacfromXdrBase64(String xdr) static HmacSha256MacfromXdrByteArray(byte[] xdr) byte[]getMac()inthashCode()voidsetMac(byte[] value) byte[]
-
Constructor Details
-
HmacSha256Mac
public HmacSha256Mac()
-
-
Method Details
-
getMac
public byte[] getMac() -
setMac
public void setMac(byte[] value) -
encode
public static void encode(XdrDataOutputStream stream, HmacSha256Mac encodedHmacSha256Mac) 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
-