public static final class PkixPublicKey.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder> implements PkixPublicKeyOrBuilder
A public key in the PkixPublicKey format (see https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details). Public keys of this type are typically textually encoded using the PEM format.Protobuf type
google.cloud.binaryauthorization.v1beta1.PkixPublicKey| Modifier and Type | Method and Description |
|---|---|
PkixPublicKey.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PkixPublicKey |
build() |
PkixPublicKey |
buildPartial() |
PkixPublicKey.Builder |
clear() |
PkixPublicKey.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PkixPublicKey.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PkixPublicKey.Builder |
clearPublicKeyPem()
A PEM-encoded public key, as described in
https://tools.ietf.org/html/rfc7468#section-13
|
PkixPublicKey.Builder |
clearSignatureAlgorithm()
The signature algorithm used to verify a message against a signature using
this key.
|
PkixPublicKey.Builder |
clone() |
PkixPublicKey |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPublicKeyPem()
A PEM-encoded public key, as described in
https://tools.ietf.org/html/rfc7468#section-13
|
com.google.protobuf.ByteString |
getPublicKeyPemBytes()
A PEM-encoded public key, as described in
https://tools.ietf.org/html/rfc7468#section-13
|
PkixPublicKey.SignatureAlgorithm |
getSignatureAlgorithm()
The signature algorithm used to verify a message against a signature using
this key.
|
int |
getSignatureAlgorithmValue()
The signature algorithm used to verify a message against a signature using
this key.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PkixPublicKey.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PkixPublicKey.Builder |
mergeFrom(com.google.protobuf.Message other) |
PkixPublicKey.Builder |
mergeFrom(PkixPublicKey other) |
PkixPublicKey.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PkixPublicKey.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PkixPublicKey.Builder |
setPublicKeyPem(String value)
A PEM-encoded public key, as described in
https://tools.ietf.org/html/rfc7468#section-13
|
PkixPublicKey.Builder |
setPublicKeyPemBytes(com.google.protobuf.ByteString value)
A PEM-encoded public key, as described in
https://tools.ietf.org/html/rfc7468#section-13
|
PkixPublicKey.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PkixPublicKey.Builder |
setSignatureAlgorithm(PkixPublicKey.SignatureAlgorithm value)
The signature algorithm used to verify a message against a signature using
this key.
|
PkixPublicKey.Builder |
setSignatureAlgorithmValue(int value)
The signature algorithm used to verify a message against a signature using
this key.
|
PkixPublicKey.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder>public PkixPublicKey.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder>public PkixPublicKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PkixPublicKey build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PkixPublicKey buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PkixPublicKey.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder>public PkixPublicKey.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder>public PkixPublicKey.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder>public PkixPublicKey.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder>public PkixPublicKey.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder>public PkixPublicKey.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder>public PkixPublicKey.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PkixPublicKey.Builder>public PkixPublicKey.Builder mergeFrom(PkixPublicKey other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder>public PkixPublicKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PkixPublicKey.Builder>IOExceptionpublic String getPublicKeyPem()
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
string public_key_pem = 1;getPublicKeyPem in interface PkixPublicKeyOrBuilderpublic com.google.protobuf.ByteString getPublicKeyPemBytes()
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
string public_key_pem = 1;getPublicKeyPemBytes in interface PkixPublicKeyOrBuilderpublic PkixPublicKey.Builder setPublicKeyPem(String value)
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
string public_key_pem = 1;value - The publicKeyPem to set.public PkixPublicKey.Builder clearPublicKeyPem()
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
string public_key_pem = 1;public PkixPublicKey.Builder setPublicKeyPemBytes(com.google.protobuf.ByteString value)
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
string public_key_pem = 1;value - The bytes for publicKeyPem to set.public int getSignatureAlgorithmValue()
The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in `public_key_pem` (i.e. this algorithm must match that of the public key).
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;
getSignatureAlgorithmValue in interface PkixPublicKeyOrBuilderpublic PkixPublicKey.Builder setSignatureAlgorithmValue(int value)
The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in `public_key_pem` (i.e. this algorithm must match that of the public key).
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;
value - The enum numeric value on the wire for signatureAlgorithm to set.public PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm()
The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in `public_key_pem` (i.e. this algorithm must match that of the public key).
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;
getSignatureAlgorithm in interface PkixPublicKeyOrBuilderpublic PkixPublicKey.Builder setSignatureAlgorithm(PkixPublicKey.SignatureAlgorithm value)
The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in `public_key_pem` (i.e. this algorithm must match that of the public key).
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;
value - The signatureAlgorithm to set.public PkixPublicKey.Builder clearSignatureAlgorithm()
The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in `public_key_pem` (i.e. this algorithm must match that of the public key).
.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;
public final PkixPublicKey.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder>public final PkixPublicKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PkixPublicKey.Builder>Copyright © 2023 Google LLC. All rights reserved.