public static final class Resources.AttestorPublicKey extends com.google.protobuf.GeneratedMessageV3 implements Resources.AttestorPublicKeyOrBuilder
An [attestor public key][google.cloud.binaryauthorization.v1.AttestorPublicKey] that will be used to verify attestations signed by this attestor.Protobuf type
google.cloud.binaryauthorization.v1.AttestorPublicKey| Modifier and Type | Class and Description |
|---|---|
static class |
Resources.AttestorPublicKey.Builder
An [attestor public key][google.cloud.binaryauthorization.v1.AttestorPublicKey] that will be used to verify
attestations signed by this attestor.
|
static class |
Resources.AttestorPublicKey.PublicKeyCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ASCII_ARMORED_PGP_PUBLIC_KEY_FIELD_NUMBER |
static int |
COMMENT_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
PKIX_PUBLIC_KEY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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).
|
com.google.protobuf.ByteString |
getAsciiArmoredPgpPublicKeyBytes()
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.
|
com.google.protobuf.ByteString |
getCommentBytes()
Optional.
|
static Resources.AttestorPublicKey |
getDefaultInstance() |
Resources.AttestorPublicKey |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getId()
The ID of this public key.
|
com.google.protobuf.ByteString |
getIdBytes()
The ID of this public key.
|
com.google.protobuf.Parser<Resources.AttestorPublicKey> |
getParserForType() |
Resources.PkixPublicKey |
getPkixPublicKey()
A raw PKIX SubjectPublicKeyInfo format public key.
|
Resources.PkixPublicKeyOrBuilder |
getPkixPublicKeyOrBuilder()
A raw PKIX SubjectPublicKeyInfo format public key.
|
Resources.AttestorPublicKey.PublicKeyCase |
getPublicKeyCase() |
int |
getSerializedSize() |
boolean |
hasAsciiArmoredPgpPublicKey()
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).
|
int |
hashCode() |
boolean |
hasPkixPublicKey()
A raw PKIX SubjectPublicKeyInfo format public key.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Resources.AttestorPublicKey.Builder |
newBuilder() |
static Resources.AttestorPublicKey.Builder |
newBuilder(Resources.AttestorPublicKey prototype) |
Resources.AttestorPublicKey.Builder |
newBuilderForType() |
protected Resources.AttestorPublicKey.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Resources.AttestorPublicKey |
parseDelimitedFrom(InputStream input) |
static Resources.AttestorPublicKey |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Resources.AttestorPublicKey |
parseFrom(byte[] data) |
static Resources.AttestorPublicKey |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Resources.AttestorPublicKey |
parseFrom(ByteBuffer data) |
static Resources.AttestorPublicKey |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Resources.AttestorPublicKey |
parseFrom(com.google.protobuf.ByteString data) |
static Resources.AttestorPublicKey |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Resources.AttestorPublicKey |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Resources.AttestorPublicKey |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Resources.AttestorPublicKey |
parseFrom(InputStream input) |
static Resources.AttestorPublicKey |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Resources.AttestorPublicKey> |
parser() |
Resources.AttestorPublicKey.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int COMMENT_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int ASCII_ARMORED_PGP_PUBLIC_KEY_FIELD_NUMBER
public static final int PKIX_PUBLIC_KEY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Resources.AttestorPublicKey.PublicKeyCase getPublicKeyCase()
getPublicKeyCase in interface Resources.AttestorPublicKeyOrBuilderpublic String getComment()
Optional. A descriptive comment. This field may be updated.
string comment = 1 [(.google.api.field_behavior) = OPTIONAL];getComment in interface Resources.AttestorPublicKeyOrBuilderpublic com.google.protobuf.ByteString getCommentBytes()
Optional. A descriptive comment. This field may be updated.
string comment = 1 [(.google.api.field_behavior) = OPTIONAL];getCommentBytes in interface Resources.AttestorPublicKeyOrBuilderpublic String getId()
The ID of this public key. Signatures verified by BinAuthz must include the ID of the public key that can be used to verify them, and that ID must match the contents of this field exactly. Additional restrictions on this field can be imposed based on which public key type is encapsulated. See the documentation on `public_key` cases below for details.
string id = 2;getId in interface Resources.AttestorPublicKeyOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
The ID of this public key. Signatures verified by BinAuthz must include the ID of the public key that can be used to verify them, and that ID must match the contents of this field exactly. Additional restrictions on this field can be imposed based on which public key type is encapsulated. See the documentation on `public_key` cases below for details.
string id = 2;getIdBytes in interface Resources.AttestorPublicKeyOrBuilderpublic boolean hasAsciiArmoredPgpPublicKey()
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). When using this field, `id` should be left blank. The BinAuthz API handlers will calculate the ID and fill it in automatically. BinAuthz computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case hex. If `id` is provided by the caller, it will be overwritten by the API-calculated ID.
string ascii_armored_pgp_public_key = 3;hasAsciiArmoredPgpPublicKey in interface Resources.AttestorPublicKeyOrBuilderpublic 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). When using this field, `id` should be left blank. The BinAuthz API handlers will calculate the ID and fill it in automatically. BinAuthz computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case hex. If `id` is provided by the caller, it will be overwritten by the API-calculated ID.
string ascii_armored_pgp_public_key = 3;getAsciiArmoredPgpPublicKey in interface Resources.AttestorPublicKeyOrBuilderpublic com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes()
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). When using this field, `id` should be left blank. The BinAuthz API handlers will calculate the ID and fill it in automatically. BinAuthz computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case hex. If `id` is provided by the caller, it will be overwritten by the API-calculated ID.
string ascii_armored_pgp_public_key = 3;getAsciiArmoredPgpPublicKeyBytes in interface Resources.AttestorPublicKeyOrBuilderpublic boolean hasPkixPublicKey()
A raw PKIX SubjectPublicKeyInfo format public key. NOTE: `id` may be explicitly provided by the caller when using this type of public key, but it MUST be a valid RFC3986 URI. If `id` is left blank, a default one will be computed based on the digest of the DER encoding of the public key.
.google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;hasPkixPublicKey in interface Resources.AttestorPublicKeyOrBuilderpublic Resources.PkixPublicKey getPkixPublicKey()
A raw PKIX SubjectPublicKeyInfo format public key. NOTE: `id` may be explicitly provided by the caller when using this type of public key, but it MUST be a valid RFC3986 URI. If `id` is left blank, a default one will be computed based on the digest of the DER encoding of the public key.
.google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;getPkixPublicKey in interface Resources.AttestorPublicKeyOrBuilderpublic Resources.PkixPublicKeyOrBuilder getPkixPublicKeyOrBuilder()
A raw PKIX SubjectPublicKeyInfo format public key. NOTE: `id` may be explicitly provided by the caller when using this type of public key, but it MUST be a valid RFC3986 URI. If `id` is left blank, a default one will be computed based on the digest of the DER encoding of the public key.
.google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;getPkixPublicKeyOrBuilder in interface Resources.AttestorPublicKeyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Resources.AttestorPublicKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Resources.AttestorPublicKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Resources.AttestorPublicKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Resources.AttestorPublicKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Resources.AttestorPublicKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Resources.AttestorPublicKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Resources.AttestorPublicKey parseFrom(InputStream input) throws IOException
IOExceptionpublic static Resources.AttestorPublicKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Resources.AttestorPublicKey parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Resources.AttestorPublicKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Resources.AttestorPublicKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Resources.AttestorPublicKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Resources.AttestorPublicKey.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Resources.AttestorPublicKey.Builder newBuilder()
public static Resources.AttestorPublicKey.Builder newBuilder(Resources.AttestorPublicKey prototype)
public Resources.AttestorPublicKey.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Resources.AttestorPublicKey.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Resources.AttestorPublicKey getDefaultInstance()
public static com.google.protobuf.Parser<Resources.AttestorPublicKey> parser()
public com.google.protobuf.Parser<Resources.AttestorPublicKey> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Resources.AttestorPublicKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.