public final class AsymmetricDecryptResponse extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AsymmetricDecryptResponse() |
| Modifier and Type | Method and Description |
|---|---|
AsymmetricDecryptResponse |
clone() |
byte[] |
decodePlaintext()
The decrypted data originally encrypted with the matching public key.
|
AsymmetricDecryptResponse |
encodePlaintext(byte[] plaintext)
The decrypted data originally encrypted with the matching public key.
|
String |
getPlaintext()
The decrypted data originally encrypted with the matching public key.
|
Long |
getPlaintextCrc32c()
Integrity verification field.
|
Boolean |
getVerifiedCiphertextCrc32c()
Integrity verification field.
|
AsymmetricDecryptResponse |
set(String fieldName,
Object value) |
AsymmetricDecryptResponse |
setPlaintext(String plaintext)
The decrypted data originally encrypted with the matching public key.
|
AsymmetricDecryptResponse |
setPlaintextCrc32c(Long plaintextCrc32c)
Integrity verification field.
|
AsymmetricDecryptResponse |
setVerifiedCiphertextCrc32c(Boolean verifiedCiphertextCrc32c)
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 getPlaintext()
null for nonedecodePlaintext()public byte[] decodePlaintext()
null for nonegetPlaintext()public AsymmetricDecryptResponse setPlaintext(String plaintext)
plaintext - plaintext or null for none#encodePlaintext()public AsymmetricDecryptResponse encodePlaintext(byte[] plaintext)
The value is encoded Base64 or {@code null} for none.
public Long getPlaintextCrc32c()
null for nonepublic AsymmetricDecryptResponse setPlaintextCrc32c(Long plaintextCrc32c)
plaintextCrc32c - plaintextCrc32c or null for nonepublic Boolean getVerifiedCiphertextCrc32c()
null for nonepublic AsymmetricDecryptResponse setVerifiedCiphertextCrc32c(Boolean verifiedCiphertextCrc32c)
verifiedCiphertextCrc32c - verifiedCiphertextCrc32c or null for nonepublic AsymmetricDecryptResponse set(String fieldName, Object value)
set in class GenericJsonpublic AsymmetricDecryptResponse clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.