Interface ArtifactVerificationOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ArtifactVerificationOptions,ArtifactVerificationOptions.Builder
public interface ArtifactVerificationOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CertificateIdentitiesgetCertificateIdentities().dev.sigstore.verification.v1.CertificateIdentities certificate_identities = 1;CertificateIdentitiesOrBuildergetCertificateIdentitiesOrBuilder().dev.sigstore.verification.v1.CertificateIdentities certificate_identities = 1;ArtifactVerificationOptions.CtlogOptionsgetCtlogOptions()Optional options for certificate transparency log verification.ArtifactVerificationOptions.CtlogOptionsOrBuildergetCtlogOptionsOrBuilder()Optional options for certificate transparency log verification.ArtifactVerificationOptions.TlogIntegratedTimestampOptionsgetIntegratedTsOptions()Optional options for integrated timestamp verification.ArtifactVerificationOptions.TlogIntegratedTimestampOptionsOrBuildergetIntegratedTsOptionsOrBuilder()Optional options for integrated timestamp verification.ArtifactVerificationOptions.ObserverTimestampOptionsgetObserverOptions()Optional options for observed timestamp verification.ArtifactVerificationOptions.ObserverTimestampOptionsOrBuildergetObserverOptionsOrBuilder()Optional options for observed timestamp verification.PublicKeyIdentitiesgetPublicKeys()To simplify verification implementation, the logic for bundle verification should be implemented as a higher-order function, where one of argument should be an interface over the set of trusted public keys, like this: `Verify(bytes artifact, bytes signature, string key_id)`.PublicKeyIdentitiesOrBuildergetPublicKeysOrBuilder()To simplify verification implementation, the logic for bundle verification should be implemented as a higher-order function, where one of argument should be an interface over the set of trusted public keys, like this: `Verify(bytes artifact, bytes signature, string key_id)`.ArtifactVerificationOptions.SignersCasegetSignersCase()ArtifactVerificationOptions.TlogOptionsgetTlogOptions()Optional options for artifact transparency log verification.ArtifactVerificationOptions.TlogOptionsOrBuildergetTlogOptionsOrBuilder()Optional options for artifact transparency log verification.ArtifactVerificationOptions.TimestampAuthorityOptionsgetTsaOptions()Optional options for certificate signed timestamp verification.ArtifactVerificationOptions.TimestampAuthorityOptionsOrBuildergetTsaOptionsOrBuilder()Optional options for certificate signed timestamp verification.booleanhasCertificateIdentities().dev.sigstore.verification.v1.CertificateIdentities certificate_identities = 1;booleanhasCtlogOptions()Optional options for certificate transparency log verification.booleanhasIntegratedTsOptions()Optional options for integrated timestamp verification.booleanhasObserverOptions()Optional options for observed timestamp verification.booleanhasPublicKeys()To simplify verification implementation, the logic for bundle verification should be implemented as a higher-order function, where one of argument should be an interface over the set of trusted public keys, like this: `Verify(bytes artifact, bytes signature, string key_id)`.booleanhasTlogOptions()Optional options for artifact transparency log verification.booleanhasTsaOptions()Optional options for certificate signed timestamp verification.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCertificateIdentities
boolean hasCertificateIdentities()
.dev.sigstore.verification.v1.CertificateIdentities certificate_identities = 1;- Returns:
- Whether the certificateIdentities field is set.
-
getCertificateIdentities
CertificateIdentities getCertificateIdentities()
.dev.sigstore.verification.v1.CertificateIdentities certificate_identities = 1;- Returns:
- The certificateIdentities.
-
getCertificateIdentitiesOrBuilder
CertificateIdentitiesOrBuilder getCertificateIdentitiesOrBuilder()
.dev.sigstore.verification.v1.CertificateIdentities certificate_identities = 1;
-
hasPublicKeys
boolean hasPublicKeys()
To simplify verification implementation, the logic for bundle verification should be implemented as a higher-order function, where one of argument should be an interface over the set of trusted public keys, like this: `Verify(bytes artifact, bytes signature, string key_id)`. This way the caller is in full control of mapping the identified (or hinted) key in the bundle to one of the trusted keys, as this process is inherently application specific.
.dev.sigstore.verification.v1.PublicKeyIdentities public_keys = 2;- Returns:
- Whether the publicKeys field is set.
-
getPublicKeys
PublicKeyIdentities getPublicKeys()
To simplify verification implementation, the logic for bundle verification should be implemented as a higher-order function, where one of argument should be an interface over the set of trusted public keys, like this: `Verify(bytes artifact, bytes signature, string key_id)`. This way the caller is in full control of mapping the identified (or hinted) key in the bundle to one of the trusted keys, as this process is inherently application specific.
.dev.sigstore.verification.v1.PublicKeyIdentities public_keys = 2;- Returns:
- The publicKeys.
-
getPublicKeysOrBuilder
PublicKeyIdentitiesOrBuilder getPublicKeysOrBuilder()
To simplify verification implementation, the logic for bundle verification should be implemented as a higher-order function, where one of argument should be an interface over the set of trusted public keys, like this: `Verify(bytes artifact, bytes signature, string key_id)`. This way the caller is in full control of mapping the identified (or hinted) key in the bundle to one of the trusted keys, as this process is inherently application specific.
.dev.sigstore.verification.v1.PublicKeyIdentities public_keys = 2;
-
hasTlogOptions
boolean hasTlogOptions()
Optional options for artifact transparency log verification. If none is provided, the default verification options are: Threshold: 1 Online verification: false Disable: false
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.TlogOptions tlog_options = 3;- Returns:
- Whether the tlogOptions field is set.
-
getTlogOptions
ArtifactVerificationOptions.TlogOptions getTlogOptions()
Optional options for artifact transparency log verification. If none is provided, the default verification options are: Threshold: 1 Online verification: false Disable: false
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.TlogOptions tlog_options = 3;- Returns:
- The tlogOptions.
-
getTlogOptionsOrBuilder
ArtifactVerificationOptions.TlogOptionsOrBuilder getTlogOptionsOrBuilder()
Optional options for artifact transparency log verification. If none is provided, the default verification options are: Threshold: 1 Online verification: false Disable: false
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.TlogOptions tlog_options = 3;
-
hasCtlogOptions
boolean hasCtlogOptions()
Optional options for certificate transparency log verification. If none is provided, the default verification options are: Threshold: 1 Disable: false
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.CtlogOptions ctlog_options = 4;- Returns:
- Whether the ctlogOptions field is set.
-
getCtlogOptions
ArtifactVerificationOptions.CtlogOptions getCtlogOptions()
Optional options for certificate transparency log verification. If none is provided, the default verification options are: Threshold: 1 Disable: false
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.CtlogOptions ctlog_options = 4;- Returns:
- The ctlogOptions.
-
getCtlogOptionsOrBuilder
ArtifactVerificationOptions.CtlogOptionsOrBuilder getCtlogOptionsOrBuilder()
Optional options for certificate transparency log verification. If none is provided, the default verification options are: Threshold: 1 Disable: false
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.CtlogOptions ctlog_options = 4;
-
hasTsaOptions
boolean hasTsaOptions()
Optional options for certificate signed timestamp verification. If none is provided, the default verification options are: Threshold: 0 Disable: true
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.TimestampAuthorityOptions tsa_options = 5;- Returns:
- Whether the tsaOptions field is set.
-
getTsaOptions
ArtifactVerificationOptions.TimestampAuthorityOptions getTsaOptions()
Optional options for certificate signed timestamp verification. If none is provided, the default verification options are: Threshold: 0 Disable: true
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.TimestampAuthorityOptions tsa_options = 5;- Returns:
- The tsaOptions.
-
getTsaOptionsOrBuilder
ArtifactVerificationOptions.TimestampAuthorityOptionsOrBuilder getTsaOptionsOrBuilder()
Optional options for certificate signed timestamp verification. If none is provided, the default verification options are: Threshold: 0 Disable: true
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.TimestampAuthorityOptions tsa_options = 5;
-
hasIntegratedTsOptions
boolean hasIntegratedTsOptions()
Optional options for integrated timestamp verification. If none is provided, the default verification options are: Threshold: 0 Disable: true
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.TlogIntegratedTimestampOptions integrated_ts_options = 6;- Returns:
- Whether the integratedTsOptions field is set.
-
getIntegratedTsOptions
ArtifactVerificationOptions.TlogIntegratedTimestampOptions getIntegratedTsOptions()
Optional options for integrated timestamp verification. If none is provided, the default verification options are: Threshold: 0 Disable: true
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.TlogIntegratedTimestampOptions integrated_ts_options = 6;- Returns:
- The integratedTsOptions.
-
getIntegratedTsOptionsOrBuilder
ArtifactVerificationOptions.TlogIntegratedTimestampOptionsOrBuilder getIntegratedTsOptionsOrBuilder()
Optional options for integrated timestamp verification. If none is provided, the default verification options are: Threshold: 0 Disable: true
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.TlogIntegratedTimestampOptions integrated_ts_options = 6;
-
hasObserverOptions
boolean hasObserverOptions()
Optional options for observed timestamp verification. If none is provided, the default verification options are: Threshold 1 Disable: false
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.ObserverTimestampOptions observer_options = 7;- Returns:
- Whether the observerOptions field is set.
-
getObserverOptions
ArtifactVerificationOptions.ObserverTimestampOptions getObserverOptions()
Optional options for observed timestamp verification. If none is provided, the default verification options are: Threshold 1 Disable: false
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.ObserverTimestampOptions observer_options = 7;- Returns:
- The observerOptions.
-
getObserverOptionsOrBuilder
ArtifactVerificationOptions.ObserverTimestampOptionsOrBuilder getObserverOptionsOrBuilder()
Optional options for observed timestamp verification. If none is provided, the default verification options are: Threshold 1 Disable: false
optional .dev.sigstore.verification.v1.ArtifactVerificationOptions.ObserverTimestampOptions observer_options = 7;
-
getSignersCase
ArtifactVerificationOptions.SignersCase getSignersCase()
-
-