Class HmacKey (2.2.3)

public class HmacKey implements Serializable

HMAC key for a service account.

Inheritance

Object > HmacKey

Implements

Serializable

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
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

newBuilder(String secretKey)

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