public static final class PkixPublicKey.Builder extends 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PkixPublicKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PkixPublicKey build()
buildPartial()
public PkixPublicKey buildPartial()
clear()
public PkixPublicKey.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PkixPublicKey.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PkixPublicKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPublicKeyPem()
public PkixPublicKey.Builder clearPublicKeyPem()
clearSignatureAlgorithm()
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;
clone()
public PkixPublicKey.Builder clone()
Overrides
getDefaultInstanceForType()
public PkixPublicKey getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPublicKeyPem()
public String getPublicKeyPem()
Returns |
Type |
Description |
String |
The publicKeyPem.
|
getPublicKeyPemBytes()
public ByteString getPublicKeyPemBytes()
Returns |
Type |
Description |
ByteString |
The bytes for publicKeyPem.
|
getSignatureAlgorithm()
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;
getSignatureAlgorithmValue()
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;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for signatureAlgorithm.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PkixPublicKey other)
public PkixPublicKey.Builder mergeFrom(PkixPublicKey other)
public PkixPublicKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PkixPublicKey.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PkixPublicKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PkixPublicKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPublicKeyPem(String value)
public PkixPublicKey.Builder setPublicKeyPem(String value)
Parameter |
Name |
Description |
value |
String
The publicKeyPem to set.
|
setPublicKeyPemBytes(ByteString value)
public PkixPublicKey.Builder setPublicKeyPemBytes(ByteString value)
Parameter |
Name |
Description |
value |
ByteString
The bytes for publicKeyPem to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PkixPublicKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSignatureAlgorithm(PkixPublicKey.SignatureAlgorithm value)
public 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;
setSignatureAlgorithmValue(int value)
public 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;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for signatureAlgorithm to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final PkixPublicKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides