Class HmacKey

java.lang.Object
com.google.cloud.storage.HmacKey
All Implemented Interfaces:
Serializable

public class HmacKey extends Object implements Serializable
HMAC key for a service account.
See Also:
  • Method Details

    • newBuilder

      public static HmacKey.Builder newBuilder(String secretKey)
    • getSecretKey

      public String getSecretKey()
      Returns the secret key associated with this HMAC key. *
    • getMetadata

      public HmacKey.HmacKeyMetadata getMetadata()
      Returns the metadata associated with this HMAC key. *
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object