Package org.stellar.sdk.xdr
Class HmacSha256Mac
java.lang.Object
org.stellar.sdk.xdr.HmacSha256Mac
HmacSha256Mac's original definition in the XDR file is:
struct HmacSha256Mac
{
opaque mac[32];
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static HmacSha256Macdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic HmacSha256MacfromXdrBase64(String xdr) static HmacSha256MacfromXdrByteArray(byte[] xdr) byte[]getMac()inthashCode()voidsetMac(byte[] mac) toString()default Stringdefault byte[]
-
Constructor Details
-
HmacSha256Mac
public HmacSha256Mac() -
HmacSha256Mac
public HmacSha256Mac(byte[] mac)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getMac
public byte[] getMac() -
setMac
public void setMac(byte[] mac) -
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-