public class HmacSha256Key extends java.lang.Object implements XdrElement
struct HmacSha256Key { opaque key[32]; };
Modifier and Type | Class and Description |
---|---|
static class |
HmacSha256Key.HmacSha256KeyBuilder |
Constructor and Description |
---|
HmacSha256Key() |
HmacSha256Key(byte[] key) |
Modifier and Type | Method and Description |
---|---|
static HmacSha256Key.HmacSha256KeyBuilder |
builder() |
static HmacSha256Key |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static HmacSha256Key |
fromXdrBase64(java.lang.String xdr) |
static HmacSha256Key |
fromXdrByteArray(byte[] xdr) |
byte[] |
getKey() |
int |
hashCode() |
void |
setKey(byte[] key) |
HmacSha256Key.HmacSha256KeyBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public HmacSha256Key()
public HmacSha256Key(byte[] key)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static HmacSha256Key decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static HmacSha256Key fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static HmacSha256Key fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static HmacSha256Key.HmacSha256KeyBuilder builder()
public HmacSha256Key.HmacSha256KeyBuilder toBuilder()
public byte[] getKey()
public void setKey(byte[] key)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object