public final class DecryptionMetadata
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Drive API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DecryptionMetadata() |
| Modifier and Type | Method and Description |
|---|---|
DecryptionMetadata |
clone() |
String |
getAes256GcmChunkSize()
Chunk size used if content was encrypted with the AES 256 GCM Cipher.
|
String |
getEncryptionResourceKeyHash()
The URL-safe Base64 encoded HMAC-SHA256 digest of the resource metadata with its DEK (Data
Encryption Key); see https://developers.google.com/workspace/cse/reference
|
String |
getJwt()
The signed JSON Web Token (JWT) which can be used to authorize the requesting user with the Key
ACL Service (KACLS).
|
Long |
getKaclsId()
The ID of the KACLS (Key ACL Service) used to encrypt the file.
|
String |
getKaclsName()
The name of the KACLS (Key ACL Service) used to encrypt the file.
|
String |
getKeyFormat()
Key format for the unwrapped key.
|
String |
getWrappedKey()
The URL-safe Base64 encoded wrapped key used to encrypt the contents of the file.
|
DecryptionMetadata |
set(String fieldName,
Object value) |
DecryptionMetadata |
setAes256GcmChunkSize(String aes256GcmChunkSize)
Chunk size used if content was encrypted with the AES 256 GCM Cipher.
|
DecryptionMetadata |
setEncryptionResourceKeyHash(String encryptionResourceKeyHash)
The URL-safe Base64 encoded HMAC-SHA256 digest of the resource metadata with its DEK (Data
Encryption Key); see https://developers.google.com/workspace/cse/reference
|
DecryptionMetadata |
setJwt(String jwt)
The signed JSON Web Token (JWT) which can be used to authorize the requesting user with the Key
ACL Service (KACLS).
|
DecryptionMetadata |
setKaclsId(Long kaclsId)
The ID of the KACLS (Key ACL Service) used to encrypt the file.
|
DecryptionMetadata |
setKaclsName(String kaclsName)
The name of the KACLS (Key ACL Service) used to encrypt the file.
|
DecryptionMetadata |
setKeyFormat(String keyFormat)
Key format for the unwrapped key.
|
DecryptionMetadata |
setWrappedKey(String wrappedKey)
The URL-safe Base64 encoded wrapped key used to encrypt the contents of the file.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAes256GcmChunkSize()
null for nonepublic DecryptionMetadata setAes256GcmChunkSize(String aes256GcmChunkSize)
aes256GcmChunkSize - aes256GcmChunkSize or null for nonepublic String getEncryptionResourceKeyHash()
null for nonepublic DecryptionMetadata setEncryptionResourceKeyHash(String encryptionResourceKeyHash)
encryptionResourceKeyHash - encryptionResourceKeyHash or null for nonepublic String getJwt()
null for nonepublic DecryptionMetadata setJwt(String jwt)
jwt - jwt or null for nonepublic Long getKaclsId()
null for nonepublic DecryptionMetadata setKaclsId(Long kaclsId)
kaclsId - kaclsId or null for nonepublic String getKaclsName()
null for nonepublic DecryptionMetadata setKaclsName(String kaclsName)
kaclsName - kaclsName or null for nonepublic String getKeyFormat()
null for nonepublic DecryptionMetadata setKeyFormat(String keyFormat)
keyFormat - keyFormat or null for nonepublic String getWrappedKey()
null for nonepublic DecryptionMetadata setWrappedKey(String wrappedKey)
wrappedKey - wrappedKey or null for nonepublic DecryptionMetadata set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DecryptionMetadata clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.