public final class RawEncryptResponse
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 Cloud Key Management Service (KMS) 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 |
|---|
RawEncryptResponse() |
| Modifier and Type | Method and Description |
|---|---|
RawEncryptResponse |
clone() |
byte[] |
decodeCiphertext()
The encrypted data.
|
byte[] |
decodeInitializationVector()
The initialization vector (IV) generated by the service during encryption.
|
RawEncryptResponse |
encodeCiphertext(byte[] ciphertext)
The encrypted data.
|
RawEncryptResponse |
encodeInitializationVector(byte[] initializationVector)
The initialization vector (IV) generated by the service during encryption.
|
String |
getCiphertext()
The encrypted data.
|
Long |
getCiphertextCrc32c()
Integrity verification field.
|
String |
getInitializationVector()
The initialization vector (IV) generated by the service during encryption.
|
Long |
getInitializationVectorCrc32c()
Integrity verification field.
|
String |
getName()
The resource name of the CryptoKeyVersion used in encryption.
|
String |
getProtectionLevel()
The ProtectionLevel of the CryptoKeyVersion used in encryption.
|
Integer |
getTagLength()
The length of the authentication tag that is appended to the end of the ciphertext.
|
Boolean |
getVerifiedAdditionalAuthenticatedDataCrc32c()
Integrity verification field.
|
Boolean |
getVerifiedInitializationVectorCrc32c()
Integrity verification field.
|
Boolean |
getVerifiedPlaintextCrc32c()
Integrity verification field.
|
RawEncryptResponse |
set(String fieldName,
Object value) |
RawEncryptResponse |
setCiphertext(String ciphertext)
The encrypted data.
|
RawEncryptResponse |
setCiphertextCrc32c(Long ciphertextCrc32c)
Integrity verification field.
|
RawEncryptResponse |
setInitializationVector(String initializationVector)
The initialization vector (IV) generated by the service during encryption.
|
RawEncryptResponse |
setInitializationVectorCrc32c(Long initializationVectorCrc32c)
Integrity verification field.
|
RawEncryptResponse |
setName(String name)
The resource name of the CryptoKeyVersion used in encryption.
|
RawEncryptResponse |
setProtectionLevel(String protectionLevel)
The ProtectionLevel of the CryptoKeyVersion used in encryption.
|
RawEncryptResponse |
setTagLength(Integer tagLength)
The length of the authentication tag that is appended to the end of the ciphertext.
|
RawEncryptResponse |
setVerifiedAdditionalAuthenticatedDataCrc32c(Boolean verifiedAdditionalAuthenticatedDataCrc32c)
Integrity verification field.
|
RawEncryptResponse |
setVerifiedInitializationVectorCrc32c(Boolean verifiedInitializationVectorCrc32c)
Integrity verification field.
|
RawEncryptResponse |
setVerifiedPlaintextCrc32c(Boolean verifiedPlaintextCrc32c)
Integrity verification field.
|
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 getCiphertext()
null for nonedecodeCiphertext()public byte[] decodeCiphertext()
null for nonegetCiphertext()public RawEncryptResponse setCiphertext(String ciphertext)
ciphertext - ciphertext or null for none#encodeCiphertext()public RawEncryptResponse encodeCiphertext(byte[] ciphertext)
The value is encoded Base64 or {@code null} for none.
public Long getCiphertextCrc32c()
null for nonepublic RawEncryptResponse setCiphertextCrc32c(Long ciphertextCrc32c)
ciphertextCrc32c - ciphertextCrc32c or null for nonepublic String getInitializationVector()
null for nonedecodeInitializationVector()public byte[] decodeInitializationVector()
null for nonegetInitializationVector()public RawEncryptResponse setInitializationVector(String initializationVector)
initializationVector - initializationVector or null for none#encodeInitializationVector()public RawEncryptResponse encodeInitializationVector(byte[] initializationVector)
The value is encoded Base64 or {@code null} for none.
public Long getInitializationVectorCrc32c()
null for nonepublic RawEncryptResponse setInitializationVectorCrc32c(Long initializationVectorCrc32c)
initializationVectorCrc32c - initializationVectorCrc32c or null for nonepublic String getName()
null for nonepublic RawEncryptResponse setName(String name)
name - name or null for nonepublic String getProtectionLevel()
null for nonepublic RawEncryptResponse setProtectionLevel(String protectionLevel)
protectionLevel - protectionLevel or null for nonepublic Integer getTagLength()
null for nonepublic RawEncryptResponse setTagLength(Integer tagLength)
tagLength - tagLength or null for nonepublic Boolean getVerifiedAdditionalAuthenticatedDataCrc32c()
null for nonepublic RawEncryptResponse setVerifiedAdditionalAuthenticatedDataCrc32c(Boolean verifiedAdditionalAuthenticatedDataCrc32c)
verifiedAdditionalAuthenticatedDataCrc32c - verifiedAdditionalAuthenticatedDataCrc32c or null for nonepublic Boolean getVerifiedInitializationVectorCrc32c()
null for nonepublic RawEncryptResponse setVerifiedInitializationVectorCrc32c(Boolean verifiedInitializationVectorCrc32c)
verifiedInitializationVectorCrc32c - verifiedInitializationVectorCrc32c or null for nonepublic Boolean getVerifiedPlaintextCrc32c()
null for nonepublic RawEncryptResponse setVerifiedPlaintextCrc32c(Boolean verifiedPlaintextCrc32c)
verifiedPlaintextCrc32c - verifiedPlaintextCrc32c or null for nonepublic RawEncryptResponse set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RawEncryptResponse clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.