Class HmacKey (2.22.6)

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
Name Description
secretKey String
Returns
Type Description
HmacKey.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getMetadata()

public HmacKey.HmacKeyMetadata getMetadata()

Returns the metadata associated with this HMAC key. *

Returns
Type Description
HmacKey.HmacKeyMetadata

getSecretKey()

public String getSecretKey()

Returns the secret key associated with this HMAC key. *

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides