public final class SignBlobResponse
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 Identity and Access Management (IAM) 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.Flags
Constructor and Description |
---|
SignBlobResponse() |
Modifier and Type | Method and Description |
---|---|
SignBlobResponse |
clone() |
byte[] |
decodeSignature()
The signed blob.
|
SignBlobResponse |
encodeSignature(byte[] signature)
The signed blob.
|
java.lang.String |
getKeyId()
The id of the key used to sign the blob.
|
java.lang.String |
getSignature()
The signed blob.
|
SignBlobResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
SignBlobResponse |
setKeyId(java.lang.String keyId)
The id of the key used to sign the blob.
|
SignBlobResponse |
setSignature(java.lang.String signature)
The signed blob.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getKeyId()
null
for nonepublic SignBlobResponse setKeyId(java.lang.String keyId)
keyId
- keyId or null
for nonepublic java.lang.String getSignature()
null
for nonedecodeSignature()
public byte[] decodeSignature()
null
for nonegetSignature()
public SignBlobResponse setSignature(java.lang.String signature)
signature
- signature or null
for none#encodeSignature()
public SignBlobResponse encodeSignature(byte[] signature)
The value is encoded Base64 or {@code null} for none.
public SignBlobResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SignBlobResponse clone()
clone
in class com.google.api.client.json.GenericJson