Package dev.sigstore.proto.bundle.v1
Class Bundle.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<Bundle.Builder>
-
- dev.sigstore.proto.bundle.v1.Bundle.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BundleOrBuilder,java.lang.Cloneable
- Enclosing class:
- Bundle
public static final class Bundle.Builder extends com.google.protobuf.GeneratedMessage.Builder<Bundle.Builder> implements BundleOrBuilder
Protobuf typedev.sigstore.bundle.v1.Bundle
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Bundlebuild()BundlebuildPartial()Bundle.Builderclear()Bundle.BuilderclearContent()Bundle.BuilderclearDsseEnvelope()A DSSE envelope can contain arbitrary payloads.Bundle.BuilderclearMediaType()MUST be application/vnd.dev.sigstore.bundle.v0.3+json when when encoded as JSON.Bundle.BuilderclearMessageSignature().dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];Bundle.BuilderclearVerificationMaterial()When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle".Bundle.ContentCasegetContentCase()BundlegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()EnvelopeOuterClass.EnvelopegetDsseEnvelope()A DSSE envelope can contain arbitrary payloads.EnvelopeOuterClass.Envelope.BuildergetDsseEnvelopeBuilder()A DSSE envelope can contain arbitrary payloads.EnvelopeOuterClass.EnvelopeOrBuildergetDsseEnvelopeOrBuilder()A DSSE envelope can contain arbitrary payloads.java.lang.StringgetMediaType()MUST be application/vnd.dev.sigstore.bundle.v0.3+json when when encoded as JSON.com.google.protobuf.ByteStringgetMediaTypeBytes()MUST be application/vnd.dev.sigstore.bundle.v0.3+json when when encoded as JSON.MessageSignaturegetMessageSignature().dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];MessageSignature.BuildergetMessageSignatureBuilder().dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];MessageSignatureOrBuildergetMessageSignatureOrBuilder().dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];VerificationMaterialgetVerificationMaterial()When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle".VerificationMaterial.BuildergetVerificationMaterialBuilder()When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle".VerificationMaterialOrBuildergetVerificationMaterialOrBuilder()When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle".booleanhasDsseEnvelope()A DSSE envelope can contain arbitrary payloads.booleanhasMessageSignature().dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];booleanhasVerificationMaterial()When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle".protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Bundle.BuildermergeDsseEnvelope(EnvelopeOuterClass.Envelope value)A DSSE envelope can contain arbitrary payloads.Bundle.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Bundle.BuildermergeFrom(com.google.protobuf.Message other)Bundle.BuildermergeFrom(Bundle other)Bundle.BuildermergeMessageSignature(MessageSignature value).dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];Bundle.BuildermergeVerificationMaterial(VerificationMaterial value)When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle".Bundle.BuildersetDsseEnvelope(EnvelopeOuterClass.Envelope value)A DSSE envelope can contain arbitrary payloads.Bundle.BuildersetDsseEnvelope(EnvelopeOuterClass.Envelope.Builder builderForValue)A DSSE envelope can contain arbitrary payloads.Bundle.BuildersetMediaType(java.lang.String value)MUST be application/vnd.dev.sigstore.bundle.v0.3+json when when encoded as JSON.Bundle.BuildersetMediaTypeBytes(com.google.protobuf.ByteString value)MUST be application/vnd.dev.sigstore.bundle.v0.3+json when when encoded as JSON.Bundle.BuildersetMessageSignature(MessageSignature value).dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];Bundle.BuildersetMessageSignature(MessageSignature.Builder builderForValue).dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];Bundle.BuildersetVerificationMaterial(VerificationMaterial value)When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle".Bundle.BuildersetVerificationMaterial(VerificationMaterial.Builder builderForValue)When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle".-
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<Bundle.Builder>
-
clear
public Bundle.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<Bundle.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<Bundle.Builder>
-
getDefaultInstanceForType
public Bundle getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Bundle build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Bundle buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Bundle.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Bundle.Builder>
-
mergeFrom
public Bundle.Builder mergeFrom(Bundle other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Bundle.Builder>
-
mergeFrom
public Bundle.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<Bundle.Builder>- Throws:
java.io.IOException
-
getContentCase
public Bundle.ContentCase getContentCase()
- Specified by:
getContentCasein interfaceBundleOrBuilder
-
clearContent
public Bundle.Builder clearContent()
-
getMediaType
public java.lang.String getMediaType()
MUST be application/vnd.dev.sigstore.bundle.v0.3+json when when encoded as JSON. Clients must to be able to accept media type using the previously defined formats: * application/vnd.dev.sigstore.bundle+json;version=0.1 * application/vnd.dev.sigstore.bundle+json;version=0.2 * application/vnd.dev.sigstore.bundle+json;version=0.3
string media_type = 1;- Specified by:
getMediaTypein interfaceBundleOrBuilder- Returns:
- The mediaType.
-
getMediaTypeBytes
public com.google.protobuf.ByteString getMediaTypeBytes()
MUST be application/vnd.dev.sigstore.bundle.v0.3+json when when encoded as JSON. Clients must to be able to accept media type using the previously defined formats: * application/vnd.dev.sigstore.bundle+json;version=0.1 * application/vnd.dev.sigstore.bundle+json;version=0.2 * application/vnd.dev.sigstore.bundle+json;version=0.3
string media_type = 1;- Specified by:
getMediaTypeBytesin interfaceBundleOrBuilder- Returns:
- The bytes for mediaType.
-
setMediaType
public Bundle.Builder setMediaType(java.lang.String value)
MUST be application/vnd.dev.sigstore.bundle.v0.3+json when when encoded as JSON. Clients must to be able to accept media type using the previously defined formats: * application/vnd.dev.sigstore.bundle+json;version=0.1 * application/vnd.dev.sigstore.bundle+json;version=0.2 * application/vnd.dev.sigstore.bundle+json;version=0.3
string media_type = 1;- Parameters:
value- The mediaType to set.- Returns:
- This builder for chaining.
-
clearMediaType
public Bundle.Builder clearMediaType()
MUST be application/vnd.dev.sigstore.bundle.v0.3+json when when encoded as JSON. Clients must to be able to accept media type using the previously defined formats: * application/vnd.dev.sigstore.bundle+json;version=0.1 * application/vnd.dev.sigstore.bundle+json;version=0.2 * application/vnd.dev.sigstore.bundle+json;version=0.3
string media_type = 1;- Returns:
- This builder for chaining.
-
setMediaTypeBytes
public Bundle.Builder setMediaTypeBytes(com.google.protobuf.ByteString value)
MUST be application/vnd.dev.sigstore.bundle.v0.3+json when when encoded as JSON. Clients must to be able to accept media type using the previously defined formats: * application/vnd.dev.sigstore.bundle+json;version=0.1 * application/vnd.dev.sigstore.bundle+json;version=0.2 * application/vnd.dev.sigstore.bundle+json;version=0.3
string media_type = 1;- Parameters:
value- The bytes for mediaType to set.- Returns:
- This builder for chaining.
-
hasVerificationMaterial
public boolean hasVerificationMaterial()
When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle". <https://docs.google.com/document/d/1kbhK2qyPPk8SLavHzYSDM8-Ueul9_oxIMVFuWMWKz0E/edit#heading=h.x8bduppe89ln> If the verification material contains a public key identifier (key hint) and the `content` is a DSSE envelope, the key hints MUST be exactly the same in the verification material and in the DSSE envelope.
.dev.sigstore.bundle.v1.VerificationMaterial verification_material = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasVerificationMaterialin interfaceBundleOrBuilder- Returns:
- Whether the verificationMaterial field is set.
-
getVerificationMaterial
public VerificationMaterial getVerificationMaterial()
When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle". <https://docs.google.com/document/d/1kbhK2qyPPk8SLavHzYSDM8-Ueul9_oxIMVFuWMWKz0E/edit#heading=h.x8bduppe89ln> If the verification material contains a public key identifier (key hint) and the `content` is a DSSE envelope, the key hints MUST be exactly the same in the verification material and in the DSSE envelope.
.dev.sigstore.bundle.v1.VerificationMaterial verification_material = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVerificationMaterialin interfaceBundleOrBuilder- Returns:
- The verificationMaterial.
-
setVerificationMaterial
public Bundle.Builder setVerificationMaterial(VerificationMaterial value)
When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle". <https://docs.google.com/document/d/1kbhK2qyPPk8SLavHzYSDM8-Ueul9_oxIMVFuWMWKz0E/edit#heading=h.x8bduppe89ln> If the verification material contains a public key identifier (key hint) and the `content` is a DSSE envelope, the key hints MUST be exactly the same in the verification material and in the DSSE envelope.
.dev.sigstore.bundle.v1.VerificationMaterial verification_material = 2 [(.google.api.field_behavior) = REQUIRED];
-
setVerificationMaterial
public Bundle.Builder setVerificationMaterial(VerificationMaterial.Builder builderForValue)
When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle". <https://docs.google.com/document/d/1kbhK2qyPPk8SLavHzYSDM8-Ueul9_oxIMVFuWMWKz0E/edit#heading=h.x8bduppe89ln> If the verification material contains a public key identifier (key hint) and the `content` is a DSSE envelope, the key hints MUST be exactly the same in the verification material and in the DSSE envelope.
.dev.sigstore.bundle.v1.VerificationMaterial verification_material = 2 [(.google.api.field_behavior) = REQUIRED];
-
mergeVerificationMaterial
public Bundle.Builder mergeVerificationMaterial(VerificationMaterial value)
When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle". <https://docs.google.com/document/d/1kbhK2qyPPk8SLavHzYSDM8-Ueul9_oxIMVFuWMWKz0E/edit#heading=h.x8bduppe89ln> If the verification material contains a public key identifier (key hint) and the `content` is a DSSE envelope, the key hints MUST be exactly the same in the verification material and in the DSSE envelope.
.dev.sigstore.bundle.v1.VerificationMaterial verification_material = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearVerificationMaterial
public Bundle.Builder clearVerificationMaterial()
When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle". <https://docs.google.com/document/d/1kbhK2qyPPk8SLavHzYSDM8-Ueul9_oxIMVFuWMWKz0E/edit#heading=h.x8bduppe89ln> If the verification material contains a public key identifier (key hint) and the `content` is a DSSE envelope, the key hints MUST be exactly the same in the verification material and in the DSSE envelope.
.dev.sigstore.bundle.v1.VerificationMaterial verification_material = 2 [(.google.api.field_behavior) = REQUIRED];
-
getVerificationMaterialBuilder
public VerificationMaterial.Builder getVerificationMaterialBuilder()
When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle". <https://docs.google.com/document/d/1kbhK2qyPPk8SLavHzYSDM8-Ueul9_oxIMVFuWMWKz0E/edit#heading=h.x8bduppe89ln> If the verification material contains a public key identifier (key hint) and the `content` is a DSSE envelope, the key hints MUST be exactly the same in the verification material and in the DSSE envelope.
.dev.sigstore.bundle.v1.VerificationMaterial verification_material = 2 [(.google.api.field_behavior) = REQUIRED];
-
getVerificationMaterialOrBuilder
public VerificationMaterialOrBuilder getVerificationMaterialOrBuilder()
When a signer is identified by a X.509 certificate, a verifier MUST verify that the signature was computed at the time the certificate was valid as described in the Sigstore client spec: "Verification using a Bundle". <https://docs.google.com/document/d/1kbhK2qyPPk8SLavHzYSDM8-Ueul9_oxIMVFuWMWKz0E/edit#heading=h.x8bduppe89ln> If the verification material contains a public key identifier (key hint) and the `content` is a DSSE envelope, the key hints MUST be exactly the same in the verification material and in the DSSE envelope.
.dev.sigstore.bundle.v1.VerificationMaterial verification_material = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getVerificationMaterialOrBuilderin interfaceBundleOrBuilder
-
hasMessageSignature
public boolean hasMessageSignature()
.dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasMessageSignaturein interfaceBundleOrBuilder- Returns:
- Whether the messageSignature field is set.
-
getMessageSignature
public MessageSignature getMessageSignature()
.dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMessageSignaturein interfaceBundleOrBuilder- Returns:
- The messageSignature.
-
setMessageSignature
public Bundle.Builder setMessageSignature(MessageSignature value)
.dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];
-
setMessageSignature
public Bundle.Builder setMessageSignature(MessageSignature.Builder builderForValue)
.dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];
-
mergeMessageSignature
public Bundle.Builder mergeMessageSignature(MessageSignature value)
.dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];
-
clearMessageSignature
public Bundle.Builder clearMessageSignature()
.dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];
-
getMessageSignatureBuilder
public MessageSignature.Builder getMessageSignatureBuilder()
.dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];
-
getMessageSignatureOrBuilder
public MessageSignatureOrBuilder getMessageSignatureOrBuilder()
.dev.sigstore.common.v1.MessageSignature message_signature = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMessageSignatureOrBuilderin interfaceBundleOrBuilder
-
hasDsseEnvelope
public boolean hasDsseEnvelope()
A DSSE envelope can contain arbitrary payloads. Verifiers must verify that the payload type is a supported and expected type. This is part of the DSSE protocol which is defined here: <https://github.com/secure-systems-lab/dsse/blob/master/protocol.md> DSSE envelopes in a bundle MUST have exactly one signture. This is a limitation from the DSSE spec, as it can contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During verification a client MUST reject an envelope if the number of signatures is not equal to one.
.io.intoto.Envelope dsse_envelope = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasDsseEnvelopein interfaceBundleOrBuilder- Returns:
- Whether the dsseEnvelope field is set.
-
getDsseEnvelope
public EnvelopeOuterClass.Envelope getDsseEnvelope()
A DSSE envelope can contain arbitrary payloads. Verifiers must verify that the payload type is a supported and expected type. This is part of the DSSE protocol which is defined here: <https://github.com/secure-systems-lab/dsse/blob/master/protocol.md> DSSE envelopes in a bundle MUST have exactly one signture. This is a limitation from the DSSE spec, as it can contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During verification a client MUST reject an envelope if the number of signatures is not equal to one.
.io.intoto.Envelope dsse_envelope = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDsseEnvelopein interfaceBundleOrBuilder- Returns:
- The dsseEnvelope.
-
setDsseEnvelope
public Bundle.Builder setDsseEnvelope(EnvelopeOuterClass.Envelope value)
A DSSE envelope can contain arbitrary payloads. Verifiers must verify that the payload type is a supported and expected type. This is part of the DSSE protocol which is defined here: <https://github.com/secure-systems-lab/dsse/blob/master/protocol.md> DSSE envelopes in a bundle MUST have exactly one signture. This is a limitation from the DSSE spec, as it can contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During verification a client MUST reject an envelope if the number of signatures is not equal to one.
.io.intoto.Envelope dsse_envelope = 4 [(.google.api.field_behavior) = REQUIRED];
-
setDsseEnvelope
public Bundle.Builder setDsseEnvelope(EnvelopeOuterClass.Envelope.Builder builderForValue)
A DSSE envelope can contain arbitrary payloads. Verifiers must verify that the payload type is a supported and expected type. This is part of the DSSE protocol which is defined here: <https://github.com/secure-systems-lab/dsse/blob/master/protocol.md> DSSE envelopes in a bundle MUST have exactly one signture. This is a limitation from the DSSE spec, as it can contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During verification a client MUST reject an envelope if the number of signatures is not equal to one.
.io.intoto.Envelope dsse_envelope = 4 [(.google.api.field_behavior) = REQUIRED];
-
mergeDsseEnvelope
public Bundle.Builder mergeDsseEnvelope(EnvelopeOuterClass.Envelope value)
A DSSE envelope can contain arbitrary payloads. Verifiers must verify that the payload type is a supported and expected type. This is part of the DSSE protocol which is defined here: <https://github.com/secure-systems-lab/dsse/blob/master/protocol.md> DSSE envelopes in a bundle MUST have exactly one signture. This is a limitation from the DSSE spec, as it can contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During verification a client MUST reject an envelope if the number of signatures is not equal to one.
.io.intoto.Envelope dsse_envelope = 4 [(.google.api.field_behavior) = REQUIRED];
-
clearDsseEnvelope
public Bundle.Builder clearDsseEnvelope()
A DSSE envelope can contain arbitrary payloads. Verifiers must verify that the payload type is a supported and expected type. This is part of the DSSE protocol which is defined here: <https://github.com/secure-systems-lab/dsse/blob/master/protocol.md> DSSE envelopes in a bundle MUST have exactly one signture. This is a limitation from the DSSE spec, as it can contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During verification a client MUST reject an envelope if the number of signatures is not equal to one.
.io.intoto.Envelope dsse_envelope = 4 [(.google.api.field_behavior) = REQUIRED];
-
getDsseEnvelopeBuilder
public EnvelopeOuterClass.Envelope.Builder getDsseEnvelopeBuilder()
A DSSE envelope can contain arbitrary payloads. Verifiers must verify that the payload type is a supported and expected type. This is part of the DSSE protocol which is defined here: <https://github.com/secure-systems-lab/dsse/blob/master/protocol.md> DSSE envelopes in a bundle MUST have exactly one signture. This is a limitation from the DSSE spec, as it can contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During verification a client MUST reject an envelope if the number of signatures is not equal to one.
.io.intoto.Envelope dsse_envelope = 4 [(.google.api.field_behavior) = REQUIRED];
-
getDsseEnvelopeOrBuilder
public EnvelopeOuterClass.EnvelopeOrBuilder getDsseEnvelopeOrBuilder()
A DSSE envelope can contain arbitrary payloads. Verifiers must verify that the payload type is a supported and expected type. This is part of the DSSE protocol which is defined here: <https://github.com/secure-systems-lab/dsse/blob/master/protocol.md> DSSE envelopes in a bundle MUST have exactly one signture. This is a limitation from the DSSE spec, as it can contain multiple signatures. There are two primary reasons: 1. It simplfies the verification logic and policy 2. The bundle (currently) can only contain a single instance of the required verification materials During verification a client MUST reject an envelope if the number of signatures is not equal to one.
.io.intoto.Envelope dsse_envelope = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDsseEnvelopeOrBuilderin interfaceBundleOrBuilder
-
-