public final class DecapsulateResponse
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 |
|---|
DecapsulateResponse() |
| Modifier and Type | Method and Description |
|---|---|
DecapsulateResponse |
clone() |
byte[] |
decodeSharedSecret()
The decapsulated shared_secret originally encapsulated with the matching public key.
|
DecapsulateResponse |
encodeSharedSecret(byte[] sharedSecret)
The decapsulated shared_secret originally encapsulated with the matching public key.
|
String |
getName()
The resource name of the CryptoKeyVersion used for decapsulation.
|
String |
getProtectionLevel()
The ProtectionLevel of the CryptoKeyVersion used in decapsulation.
|
String |
getSharedSecret()
The decapsulated shared_secret originally encapsulated with the matching public key.
|
Long |
getSharedSecretCrc32c()
Integrity verification field.
|
Boolean |
getVerifiedCiphertextCrc32c()
Integrity verification field.
|
DecapsulateResponse |
set(String fieldName,
Object value) |
DecapsulateResponse |
setName(String name)
The resource name of the CryptoKeyVersion used for decapsulation.
|
DecapsulateResponse |
setProtectionLevel(String protectionLevel)
The ProtectionLevel of the CryptoKeyVersion used in decapsulation.
|
DecapsulateResponse |
setSharedSecret(String sharedSecret)
The decapsulated shared_secret originally encapsulated with the matching public key.
|
DecapsulateResponse |
setSharedSecretCrc32c(Long sharedSecretCrc32c)
Integrity verification field.
|
DecapsulateResponse |
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 getName()
null for nonepublic DecapsulateResponse setName(String name)
name - name or null for nonepublic String getProtectionLevel()
null for nonepublic DecapsulateResponse setProtectionLevel(String protectionLevel)
protectionLevel - protectionLevel or null for nonepublic String getSharedSecret()
null for nonedecodeSharedSecret()public byte[] decodeSharedSecret()
null for nonegetSharedSecret()public DecapsulateResponse setSharedSecret(String sharedSecret)
sharedSecret - sharedSecret or null for none#encodeSharedSecret()public DecapsulateResponse encodeSharedSecret(byte[] sharedSecret)
The value is encoded Base64 or {@code null} for none.
public Long getSharedSecretCrc32c()
null for nonepublic DecapsulateResponse setSharedSecretCrc32c(Long sharedSecretCrc32c)
sharedSecretCrc32c - sharedSecretCrc32c or null for nonepublic Boolean getVerifiedCiphertextCrc32c()
null for nonepublic DecapsulateResponse setVerifiedCiphertextCrc32c(Boolean verifiedCiphertextCrc32c)
verifiedCiphertextCrc32c - verifiedCiphertextCrc32c or null for nonepublic DecapsulateResponse set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DecapsulateResponse clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.