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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static HmacSha256Mac
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static HmacSha256Mac
fromXdrBase64
(String xdr) static HmacSha256Mac
fromXdrByteArray
(byte[] xdr) byte[]
getMac()
int
hashCode()
void
setMac
(byte[] mac) toString()
default String
default 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
-