public final class AsymmetricSignResponse 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 |
|---|
AsymmetricSignResponse() |
| Modifier and Type | Method and Description |
|---|---|
AsymmetricSignResponse |
clone() |
byte[] |
decodeSignature()
The created signature.
|
AsymmetricSignResponse |
encodeSignature(byte[] signature)
The created signature.
|
String |
getName()
The resource name of the CryptoKeyVersion used for signing.
|
String |
getProtectionLevel()
The ProtectionLevel of the CryptoKeyVersion used for signing.
|
String |
getSignature()
The created signature.
|
Long |
getSignatureCrc32c()
Integrity verification field.
|
Boolean |
getVerifiedDataCrc32c()
Integrity verification field.
|
Boolean |
getVerifiedDigestCrc32c()
Integrity verification field.
|
AsymmetricSignResponse |
set(String fieldName,
Object value) |
AsymmetricSignResponse |
setName(String name)
The resource name of the CryptoKeyVersion used for signing.
|
AsymmetricSignResponse |
setProtectionLevel(String protectionLevel)
The ProtectionLevel of the CryptoKeyVersion used for signing.
|
AsymmetricSignResponse |
setSignature(String signature)
The created signature.
|
AsymmetricSignResponse |
setSignatureCrc32c(Long signatureCrc32c)
Integrity verification field.
|
AsymmetricSignResponse |
setVerifiedDataCrc32c(Boolean verifiedDataCrc32c)
Integrity verification field.
|
AsymmetricSignResponse |
setVerifiedDigestCrc32c(Boolean verifiedDigestCrc32c)
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 AsymmetricSignResponse setName(String name)
name - name or null for nonepublic String getProtectionLevel()
null for nonepublic AsymmetricSignResponse setProtectionLevel(String protectionLevel)
protectionLevel - protectionLevel or null for nonepublic String getSignature()
null for nonedecodeSignature()public byte[] decodeSignature()
null for nonegetSignature()public AsymmetricSignResponse setSignature(String signature)
signature - signature or null for none#encodeSignature()public AsymmetricSignResponse encodeSignature(byte[] signature)
The value is encoded Base64 or {@code null} for none.
public Long getSignatureCrc32c()
null for nonepublic AsymmetricSignResponse setSignatureCrc32c(Long signatureCrc32c)
signatureCrc32c - signatureCrc32c or null for nonepublic Boolean getVerifiedDataCrc32c()
null for nonepublic AsymmetricSignResponse setVerifiedDataCrc32c(Boolean verifiedDataCrc32c)
verifiedDataCrc32c - verifiedDataCrc32c or null for nonepublic Boolean getVerifiedDigestCrc32c()
null for nonepublic AsymmetricSignResponse setVerifiedDigestCrc32c(Boolean verifiedDigestCrc32c)
verifiedDigestCrc32c - verifiedDigestCrc32c or null for nonepublic AsymmetricSignResponse set(String fieldName, Object value)
set in class GenericJsonpublic AsymmetricSignResponse clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.