Class BlobInfo.CustomerEncryption

java.lang.Object
com.google.cloud.storage.BlobInfo.CustomerEncryption
All Implemented Interfaces:
Serializable
Enclosing class:
BlobInfo

public static class BlobInfo.CustomerEncryption extends Object implements Serializable
Objects of this class hold information on the customer-supplied encryption key, if the blob is encrypted using such a key.
See Also:
  • Method Details

    • getEncryptionAlgorithm

      public String getEncryptionAlgorithm()
      Returns the algorithm used to encrypt the blob.
    • getKeySha256

      public String getKeySha256()
      Returns the SHA256 hash of the encryption key.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

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

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