public final class ImportCryptoKeyVersionRequest 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 |
|---|
ImportCryptoKeyVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
ImportCryptoKeyVersionRequest |
clone() |
byte[] |
decodeRsaAesWrappedKey()
Wrapped key material produced with RSA_OAEP_3072_SHA1_AES_256 or RSA_OAEP_4096_SHA1_AES_256.
|
ImportCryptoKeyVersionRequest |
encodeRsaAesWrappedKey(byte[] rsaAesWrappedKey)
Wrapped key material produced with RSA_OAEP_3072_SHA1_AES_256 or RSA_OAEP_4096_SHA1_AES_256.
|
String |
getAlgorithm()
Required.
|
String |
getImportJob()
Required.
|
String |
getRsaAesWrappedKey()
Wrapped key material produced with RSA_OAEP_3072_SHA1_AES_256 or RSA_OAEP_4096_SHA1_AES_256.
|
ImportCryptoKeyVersionRequest |
set(String fieldName,
Object value) |
ImportCryptoKeyVersionRequest |
setAlgorithm(String algorithm)
Required.
|
ImportCryptoKeyVersionRequest |
setImportJob(String importJob)
Required.
|
ImportCryptoKeyVersionRequest |
setRsaAesWrappedKey(String rsaAesWrappedKey)
Wrapped key material produced with RSA_OAEP_3072_SHA1_AES_256 or RSA_OAEP_4096_SHA1_AES_256.
|
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 getAlgorithm()
null for nonepublic ImportCryptoKeyVersionRequest setAlgorithm(String algorithm)
algorithm - algorithm or null for nonepublic String getImportJob()
null for nonepublic ImportCryptoKeyVersionRequest setImportJob(String importJob)
importJob - importJob or null for nonepublic String getRsaAesWrappedKey()
null for nonedecodeRsaAesWrappedKey()public byte[] decodeRsaAesWrappedKey()
null for nonegetRsaAesWrappedKey()public ImportCryptoKeyVersionRequest setRsaAesWrappedKey(String rsaAesWrappedKey)
rsaAesWrappedKey - rsaAesWrappedKey or null for none#encodeRsaAesWrappedKey()public ImportCryptoKeyVersionRequest encodeRsaAesWrappedKey(byte[] rsaAesWrappedKey)
The value is encoded Base64 or {@code null} for none.
public ImportCryptoKeyVersionRequest set(String fieldName, Object value)
set in class GenericJsonpublic ImportCryptoKeyVersionRequest clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.