public class HmacKey extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
HmacKey.Builder
Builder for
HmacKey objects. |
static class |
HmacKey.HmacKeyMetadata
The metadata for a service account HMAC key.
|
static class |
HmacKey.HmacKeyState |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
HmacKey.HmacKeyMetadata |
getMetadata()
Returns the metadata associated with this HMAC key.
|
String |
getSecretKey()
Returns the secret key associated with this HMAC key.
|
int |
hashCode() |
static HmacKey.Builder |
newBuilder(String secretKey) |
public static HmacKey.Builder newBuilder(String secretKey)
public String getSecretKey()
public HmacKey.HmacKeyMetadata getMetadata()
Copyright © 2023 Google LLC. All rights reserved.