Class HmacKey (2.20.1)

public class HmacKey implements Serializable

HMAC key for a service account.

Inheritance

Object > HmacKey

Implements

Serializable

Static Methods

newBuilder(String secretKey)

public static HmacKey.Builder newBuilder(String secretKey)
Parameter
NameDescription
secretKeyString
Returns
TypeDescription
HmacKey.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getMetadata()

public HmacKey.HmacKeyMetadata getMetadata()

Returns the metadata associated with this HMAC key. *

Returns
TypeDescription
HmacKey.HmacKeyMetadata

getSecretKey()

public String getSecretKey()

Returns the secret key associated with this HMAC key. *

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides