public final class AttestorPublicKey
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 Binary Authorization 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AttestorPublicKey() |
Modifier and Type | Method and Description |
---|---|
AttestorPublicKey |
clone() |
String |
getAsciiArmoredPgpPublicKey()
ASCII-armored representation of a PGP public key, as the entire output by the command `gpg
--export --armor foo@example.com` (either LF or CRLF line endings).
|
String |
getComment()
Optional.
|
String |
getId()
The ID of this public key.
|
PkixPublicKey |
getPkixPublicKey()
A raw PKIX SubjectPublicKeyInfo format public key.
|
AttestorPublicKey |
set(String fieldName,
Object value) |
AttestorPublicKey |
setAsciiArmoredPgpPublicKey(String asciiArmoredPgpPublicKey)
ASCII-armored representation of a PGP public key, as the entire output by the command `gpg
--export --armor foo@example.com` (either LF or CRLF line endings).
|
AttestorPublicKey |
setComment(String comment)
Optional.
|
AttestorPublicKey |
setId(String id)
The ID of this public key.
|
AttestorPublicKey |
setPkixPublicKey(PkixPublicKey pkixPublicKey)
A raw PKIX SubjectPublicKeyInfo format public key.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAsciiArmoredPgpPublicKey()
null
for nonepublic AttestorPublicKey setAsciiArmoredPgpPublicKey(String asciiArmoredPgpPublicKey)
asciiArmoredPgpPublicKey
- asciiArmoredPgpPublicKey or null
for nonepublic String getComment()
null
for nonepublic AttestorPublicKey setComment(String comment)
comment
- comment or null
for nonepublic String getId()
null
for nonepublic AttestorPublicKey setId(String id)
id
- id or null
for nonepublic PkixPublicKey getPkixPublicKey()
null
for nonepublic AttestorPublicKey setPkixPublicKey(PkixPublicKey pkixPublicKey)
pkixPublicKey
- pkixPublicKey or null
for nonepublic AttestorPublicKey set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AttestorPublicKey clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.