public final class Digest 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 |
|---|
Digest() |
| Modifier and Type | Method and Description |
|---|---|
Digest |
clone() |
byte[] |
decodeSha256()
A message digest produced with the SHA-256 algorithm.
|
byte[] |
decodeSha384()
A message digest produced with the SHA-384 algorithm.
|
byte[] |
decodeSha512()
A message digest produced with the SHA-512 algorithm.
|
Digest |
encodeSha256(byte[] sha256)
A message digest produced with the SHA-256 algorithm.
|
Digest |
encodeSha384(byte[] sha384)
A message digest produced with the SHA-384 algorithm.
|
Digest |
encodeSha512(byte[] sha512)
A message digest produced with the SHA-512 algorithm.
|
String |
getSha256()
A message digest produced with the SHA-256 algorithm.
|
String |
getSha384()
A message digest produced with the SHA-384 algorithm.
|
String |
getSha512()
A message digest produced with the SHA-512 algorithm.
|
Digest |
set(String fieldName,
Object value) |
Digest |
setSha256(String sha256)
A message digest produced with the SHA-256 algorithm.
|
Digest |
setSha384(String sha384)
A message digest produced with the SHA-384 algorithm.
|
Digest |
setSha512(String sha512)
A message digest produced with the SHA-512 algorithm.
|
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 getSha256()
null for nonedecodeSha256()public byte[] decodeSha256()
null for nonegetSha256()public Digest setSha256(String sha256)
sha256 - sha256 or null for none#encodeSha256()public Digest encodeSha256(byte[] sha256)
The value is encoded Base64 or {@code null} for none.
public String getSha384()
null for nonedecodeSha384()public byte[] decodeSha384()
null for nonegetSha384()public Digest setSha384(String sha384)
sha384 - sha384 or null for none#encodeSha384()public Digest encodeSha384(byte[] sha384)
The value is encoded Base64 or {@code null} for none.
public String getSha512()
null for nonedecodeSha512()public byte[] decodeSha512()
null for nonegetSha512()public Digest setSha512(String sha512)
sha512 - sha512 or null for none#encodeSha512()public Digest encodeSha512(byte[] sha512)
The value is encoded Base64 or {@code null} for none.
public Digest set(String fieldName, Object value)
set in class GenericJsonpublic Digest clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.