Package dev.sigstore.proto.common.v1
Class X509CertificateChain.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<X509CertificateChain.Builder>
-
- dev.sigstore.proto.common.v1.X509CertificateChain.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,X509CertificateChainOrBuilder,java.lang.Cloneable
- Enclosing class:
- X509CertificateChain
public static final class X509CertificateChain.Builder extends com.google.protobuf.GeneratedMessage.Builder<X509CertificateChain.Builder> implements X509CertificateChainOrBuilder
A collection of X.509 certificates. This "chain" can be used in multiple contexts, such as providing a root CA certificate within a TUF root of trust or multiple untrusted certificates for the purpose of chain building.
Protobuf typedev.sigstore.common.v1.X509CertificateChain
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description X509CertificateChain.BuilderaddAllCertificates(java.lang.Iterable<? extends X509Certificate> values)One or more DER-encoded certificates.X509CertificateChain.BuilderaddCertificates(int index, X509Certificate value)One or more DER-encoded certificates.X509CertificateChain.BuilderaddCertificates(int index, X509Certificate.Builder builderForValue)One or more DER-encoded certificates.X509CertificateChain.BuilderaddCertificates(X509Certificate value)One or more DER-encoded certificates.X509CertificateChain.BuilderaddCertificates(X509Certificate.Builder builderForValue)One or more DER-encoded certificates.X509Certificate.BuilderaddCertificatesBuilder()One or more DER-encoded certificates.X509Certificate.BuilderaddCertificatesBuilder(int index)One or more DER-encoded certificates.X509CertificateChainbuild()X509CertificateChainbuildPartial()X509CertificateChain.Builderclear()X509CertificateChain.BuilderclearCertificates()One or more DER-encoded certificates.X509CertificategetCertificates(int index)One or more DER-encoded certificates.X509Certificate.BuildergetCertificatesBuilder(int index)One or more DER-encoded certificates.java.util.List<X509Certificate.Builder>getCertificatesBuilderList()One or more DER-encoded certificates.intgetCertificatesCount()One or more DER-encoded certificates.java.util.List<X509Certificate>getCertificatesList()One or more DER-encoded certificates.X509CertificateOrBuildergetCertificatesOrBuilder(int index)One or more DER-encoded certificates.java.util.List<? extends X509CertificateOrBuilder>getCertificatesOrBuilderList()One or more DER-encoded certificates.X509CertificateChaingetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()X509CertificateChain.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)X509CertificateChain.BuildermergeFrom(com.google.protobuf.Message other)X509CertificateChain.BuildermergeFrom(X509CertificateChain other)X509CertificateChain.BuilderremoveCertificates(int index)One or more DER-encoded certificates.X509CertificateChain.BuildersetCertificates(int index, X509Certificate value)One or more DER-encoded certificates.X509CertificateChain.BuildersetCertificates(int index, X509Certificate.Builder builderForValue)One or more DER-encoded certificates.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<X509CertificateChain.Builder>
-
clear
public X509CertificateChain.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<X509CertificateChain.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<X509CertificateChain.Builder>
-
getDefaultInstanceForType
public X509CertificateChain getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public X509CertificateChain build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public X509CertificateChain buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public X509CertificateChain.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<X509CertificateChain.Builder>
-
mergeFrom
public X509CertificateChain.Builder mergeFrom(X509CertificateChain other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<X509CertificateChain.Builder>
-
mergeFrom
public X509CertificateChain.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<X509CertificateChain.Builder>- Throws:
java.io.IOException
-
getCertificatesList
public java.util.List<X509Certificate> getCertificatesList()
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;- Specified by:
getCertificatesListin interfaceX509CertificateChainOrBuilder
-
getCertificatesCount
public int getCertificatesCount()
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;- Specified by:
getCertificatesCountin interfaceX509CertificateChainOrBuilder
-
getCertificates
public X509Certificate getCertificates(int index)
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;- Specified by:
getCertificatesin interfaceX509CertificateChainOrBuilder
-
setCertificates
public X509CertificateChain.Builder setCertificates(int index, X509Certificate value)
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
setCertificates
public X509CertificateChain.Builder setCertificates(int index, X509Certificate.Builder builderForValue)
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
addCertificates
public X509CertificateChain.Builder addCertificates(X509Certificate value)
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
addCertificates
public X509CertificateChain.Builder addCertificates(int index, X509Certificate value)
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
addCertificates
public X509CertificateChain.Builder addCertificates(X509Certificate.Builder builderForValue)
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
addCertificates
public X509CertificateChain.Builder addCertificates(int index, X509Certificate.Builder builderForValue)
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
addAllCertificates
public X509CertificateChain.Builder addAllCertificates(java.lang.Iterable<? extends X509Certificate> values)
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
clearCertificates
public X509CertificateChain.Builder clearCertificates()
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
removeCertificates
public X509CertificateChain.Builder removeCertificates(int index)
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
getCertificatesBuilder
public X509Certificate.Builder getCertificatesBuilder(int index)
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
getCertificatesOrBuilder
public X509CertificateOrBuilder getCertificatesOrBuilder(int index)
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;- Specified by:
getCertificatesOrBuilderin interfaceX509CertificateChainOrBuilder
-
getCertificatesOrBuilderList
public java.util.List<? extends X509CertificateOrBuilder> getCertificatesOrBuilderList()
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;- Specified by:
getCertificatesOrBuilderListin interfaceX509CertificateChainOrBuilder
-
addCertificatesBuilder
public X509Certificate.Builder addCertificatesBuilder()
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
addCertificatesBuilder
public X509Certificate.Builder addCertificatesBuilder(int index)
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
getCertificatesBuilderList
public java.util.List<X509Certificate.Builder> getCertificatesBuilderList()
One or more DER-encoded certificates. In some contexts (such as `VerificationMaterial.x509_certificate_chain`), this sequence has an imposed order. Unless explicitly specified, there is otherwise no guaranteed order.
repeated .dev.sigstore.common.v1.X509Certificate certificates = 1;
-
-