Package dev.sigstore.proto.bundle.v1
Class TimestampVerificationData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<TimestampVerificationData.Builder>
-
- dev.sigstore.proto.bundle.v1.TimestampVerificationData.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TimestampVerificationDataOrBuilder,java.lang.Cloneable
- Enclosing class:
- TimestampVerificationData
public static final class TimestampVerificationData.Builder extends com.google.protobuf.GeneratedMessage.Builder<TimestampVerificationData.Builder> implements TimestampVerificationDataOrBuilder
Various timestamped counter signatures over the artifacts signature. Currently only RFC3161 signatures are provided. More formats may be added in the future.
Protobuf typedev.sigstore.bundle.v1.TimestampVerificationData
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TimestampVerificationData.BuilderaddAllRfc3161Timestamps(java.lang.Iterable<? extends RFC3161SignedTimestamp> values)A list of RFC3161 signed timestamps provided by the user.TimestampVerificationData.BuilderaddRfc3161Timestamps(int index, RFC3161SignedTimestamp value)A list of RFC3161 signed timestamps provided by the user.TimestampVerificationData.BuilderaddRfc3161Timestamps(int index, RFC3161SignedTimestamp.Builder builderForValue)A list of RFC3161 signed timestamps provided by the user.TimestampVerificationData.BuilderaddRfc3161Timestamps(RFC3161SignedTimestamp value)A list of RFC3161 signed timestamps provided by the user.TimestampVerificationData.BuilderaddRfc3161Timestamps(RFC3161SignedTimestamp.Builder builderForValue)A list of RFC3161 signed timestamps provided by the user.RFC3161SignedTimestamp.BuilderaddRfc3161TimestampsBuilder()A list of RFC3161 signed timestamps provided by the user.RFC3161SignedTimestamp.BuilderaddRfc3161TimestampsBuilder(int index)A list of RFC3161 signed timestamps provided by the user.TimestampVerificationDatabuild()TimestampVerificationDatabuildPartial()TimestampVerificationData.Builderclear()TimestampVerificationData.BuilderclearRfc3161Timestamps()A list of RFC3161 signed timestamps provided by the user.TimestampVerificationDatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RFC3161SignedTimestampgetRfc3161Timestamps(int index)A list of RFC3161 signed timestamps provided by the user.RFC3161SignedTimestamp.BuildergetRfc3161TimestampsBuilder(int index)A list of RFC3161 signed timestamps provided by the user.java.util.List<RFC3161SignedTimestamp.Builder>getRfc3161TimestampsBuilderList()A list of RFC3161 signed timestamps provided by the user.intgetRfc3161TimestampsCount()A list of RFC3161 signed timestamps provided by the user.java.util.List<RFC3161SignedTimestamp>getRfc3161TimestampsList()A list of RFC3161 signed timestamps provided by the user.RFC3161SignedTimestampOrBuildergetRfc3161TimestampsOrBuilder(int index)A list of RFC3161 signed timestamps provided by the user.java.util.List<? extends RFC3161SignedTimestampOrBuilder>getRfc3161TimestampsOrBuilderList()A list of RFC3161 signed timestamps provided by the user.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TimestampVerificationData.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TimestampVerificationData.BuildermergeFrom(com.google.protobuf.Message other)TimestampVerificationData.BuildermergeFrom(TimestampVerificationData other)TimestampVerificationData.BuilderremoveRfc3161Timestamps(int index)A list of RFC3161 signed timestamps provided by the user.TimestampVerificationData.BuildersetRfc3161Timestamps(int index, RFC3161SignedTimestamp value)A list of RFC3161 signed timestamps provided by the user.TimestampVerificationData.BuildersetRfc3161Timestamps(int index, RFC3161SignedTimestamp.Builder builderForValue)A list of RFC3161 signed timestamps provided by the user.-
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<TimestampVerificationData.Builder>
-
clear
public TimestampVerificationData.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<TimestampVerificationData.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<TimestampVerificationData.Builder>
-
getDefaultInstanceForType
public TimestampVerificationData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TimestampVerificationData build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TimestampVerificationData buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public TimestampVerificationData.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimestampVerificationData.Builder>
-
mergeFrom
public TimestampVerificationData.Builder mergeFrom(TimestampVerificationData other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TimestampVerificationData.Builder>
-
mergeFrom
public TimestampVerificationData.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<TimestampVerificationData.Builder>- Throws:
java.io.IOException
-
getRfc3161TimestampsList
public java.util.List<RFC3161SignedTimestamp> getRfc3161TimestampsList()
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;- Specified by:
getRfc3161TimestampsListin interfaceTimestampVerificationDataOrBuilder
-
getRfc3161TimestampsCount
public int getRfc3161TimestampsCount()
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;- Specified by:
getRfc3161TimestampsCountin interfaceTimestampVerificationDataOrBuilder
-
getRfc3161Timestamps
public RFC3161SignedTimestamp getRfc3161Timestamps(int index)
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;- Specified by:
getRfc3161Timestampsin interfaceTimestampVerificationDataOrBuilder
-
setRfc3161Timestamps
public TimestampVerificationData.Builder setRfc3161Timestamps(int index, RFC3161SignedTimestamp value)
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
setRfc3161Timestamps
public TimestampVerificationData.Builder setRfc3161Timestamps(int index, RFC3161SignedTimestamp.Builder builderForValue)
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
addRfc3161Timestamps
public TimestampVerificationData.Builder addRfc3161Timestamps(RFC3161SignedTimestamp value)
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
addRfc3161Timestamps
public TimestampVerificationData.Builder addRfc3161Timestamps(int index, RFC3161SignedTimestamp value)
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
addRfc3161Timestamps
public TimestampVerificationData.Builder addRfc3161Timestamps(RFC3161SignedTimestamp.Builder builderForValue)
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
addRfc3161Timestamps
public TimestampVerificationData.Builder addRfc3161Timestamps(int index, RFC3161SignedTimestamp.Builder builderForValue)
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
addAllRfc3161Timestamps
public TimestampVerificationData.Builder addAllRfc3161Timestamps(java.lang.Iterable<? extends RFC3161SignedTimestamp> values)
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
clearRfc3161Timestamps
public TimestampVerificationData.Builder clearRfc3161Timestamps()
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
removeRfc3161Timestamps
public TimestampVerificationData.Builder removeRfc3161Timestamps(int index)
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
getRfc3161TimestampsBuilder
public RFC3161SignedTimestamp.Builder getRfc3161TimestampsBuilder(int index)
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
getRfc3161TimestampsOrBuilder
public RFC3161SignedTimestampOrBuilder getRfc3161TimestampsOrBuilder(int index)
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;- Specified by:
getRfc3161TimestampsOrBuilderin interfaceTimestampVerificationDataOrBuilder
-
getRfc3161TimestampsOrBuilderList
public java.util.List<? extends RFC3161SignedTimestampOrBuilder> getRfc3161TimestampsOrBuilderList()
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;- Specified by:
getRfc3161TimestampsOrBuilderListin interfaceTimestampVerificationDataOrBuilder
-
addRfc3161TimestampsBuilder
public RFC3161SignedTimestamp.Builder addRfc3161TimestampsBuilder()
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
addRfc3161TimestampsBuilder
public RFC3161SignedTimestamp.Builder addRfc3161TimestampsBuilder(int index)
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
getRfc3161TimestampsBuilderList
public java.util.List<RFC3161SignedTimestamp.Builder> getRfc3161TimestampsBuilderList()
A list of RFC3161 signed timestamps provided by the user. This can be used when the entry has not been stored on a transparency log, or in conjunction for a stronger trust model. Clients MUST verify the hashed message in the message imprint against the signature in the bundle.
repeated .dev.sigstore.common.v1.RFC3161SignedTimestamp rfc3161_timestamps = 1;
-
-