Package dev.sigstore.proto.trustroot.v1
Class TransparencyLogInstance.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<TransparencyLogInstance.Builder>
-
- dev.sigstore.proto.trustroot.v1.TransparencyLogInstance.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransparencyLogInstanceOrBuilder,java.lang.Cloneable
- Enclosing class:
- TransparencyLogInstance
public static final class TransparencyLogInstance.Builder extends com.google.protobuf.GeneratedMessage.Builder<TransparencyLogInstance.Builder> implements TransparencyLogInstanceOrBuilder
TransparencyLogInstance describes the immutable parameters from a transparency log. See https://www.rfc-editor.org/rfc/rfc9162.html#name-log-parameters for more details. The included parameters are the minimal set required to identify a log, and verify an inclusion proof/promise.
Protobuf typedev.sigstore.trustroot.v1.TransparencyLogInstance
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransparencyLogInstancebuild()TransparencyLogInstancebuildPartial()TransparencyLogInstance.Builderclear()TransparencyLogInstance.BuilderclearBaseUrl()The base URL at which can be used to URLs for the client.TransparencyLogInstance.BuilderclearCheckpointKeyId()The checkpoint key identifier for the log used in a checkpoint.TransparencyLogInstance.BuilderclearHashAlgorithm()The hash algorithm used for the Merkle Tree.TransparencyLogInstance.BuilderclearLogId()The unique identifier for this transparency log.TransparencyLogInstance.BuilderclearPublicKey()The public key used to verify signatures generated by the log.java.lang.StringgetBaseUrl()The base URL at which can be used to URLs for the client.com.google.protobuf.ByteStringgetBaseUrlBytes()The base URL at which can be used to URLs for the client.LogIdgetCheckpointKeyId()The checkpoint key identifier for the log used in a checkpoint.LogId.BuildergetCheckpointKeyIdBuilder()The checkpoint key identifier for the log used in a checkpoint.LogIdOrBuildergetCheckpointKeyIdOrBuilder()The checkpoint key identifier for the log used in a checkpoint.TransparencyLogInstancegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HashAlgorithmgetHashAlgorithm()The hash algorithm used for the Merkle Tree.intgetHashAlgorithmValue()The hash algorithm used for the Merkle Tree.LogIdgetLogId()The unique identifier for this transparency log.LogId.BuildergetLogIdBuilder()The unique identifier for this transparency log.LogIdOrBuildergetLogIdOrBuilder()The unique identifier for this transparency log.PublicKeygetPublicKey()The public key used to verify signatures generated by the log.PublicKey.BuildergetPublicKeyBuilder()The public key used to verify signatures generated by the log.PublicKeyOrBuildergetPublicKeyOrBuilder()The public key used to verify signatures generated by the log.booleanhasCheckpointKeyId()The checkpoint key identifier for the log used in a checkpoint.booleanhasLogId()The unique identifier for this transparency log.booleanhasPublicKey()The public key used to verify signatures generated by the log.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TransparencyLogInstance.BuildermergeCheckpointKeyId(LogId value)The checkpoint key identifier for the log used in a checkpoint.TransparencyLogInstance.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TransparencyLogInstance.BuildermergeFrom(com.google.protobuf.Message other)TransparencyLogInstance.BuildermergeFrom(TransparencyLogInstance other)TransparencyLogInstance.BuildermergeLogId(LogId value)The unique identifier for this transparency log.TransparencyLogInstance.BuildermergePublicKey(PublicKey value)The public key used to verify signatures generated by the log.TransparencyLogInstance.BuildersetBaseUrl(java.lang.String value)The base URL at which can be used to URLs for the client.TransparencyLogInstance.BuildersetBaseUrlBytes(com.google.protobuf.ByteString value)The base URL at which can be used to URLs for the client.TransparencyLogInstance.BuildersetCheckpointKeyId(LogId value)The checkpoint key identifier for the log used in a checkpoint.TransparencyLogInstance.BuildersetCheckpointKeyId(LogId.Builder builderForValue)The checkpoint key identifier for the log used in a checkpoint.TransparencyLogInstance.BuildersetHashAlgorithm(HashAlgorithm value)The hash algorithm used for the Merkle Tree.TransparencyLogInstance.BuildersetHashAlgorithmValue(int value)The hash algorithm used for the Merkle Tree.TransparencyLogInstance.BuildersetLogId(LogId value)The unique identifier for this transparency log.TransparencyLogInstance.BuildersetLogId(LogId.Builder builderForValue)The unique identifier for this transparency log.TransparencyLogInstance.BuildersetPublicKey(PublicKey value)The public key used to verify signatures generated by the log.TransparencyLogInstance.BuildersetPublicKey(PublicKey.Builder builderForValue)The public key used to verify signatures generated by the log.-
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<TransparencyLogInstance.Builder>
-
clear
public TransparencyLogInstance.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<TransparencyLogInstance.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<TransparencyLogInstance.Builder>
-
getDefaultInstanceForType
public TransparencyLogInstance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransparencyLogInstance build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransparencyLogInstance buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public TransparencyLogInstance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransparencyLogInstance.Builder>
-
mergeFrom
public TransparencyLogInstance.Builder mergeFrom(TransparencyLogInstance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransparencyLogInstance.Builder>
-
mergeFrom
public TransparencyLogInstance.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<TransparencyLogInstance.Builder>- Throws:
java.io.IOException
-
getBaseUrl
public java.lang.String getBaseUrl()
The base URL at which can be used to URLs for the client.
string base_url = 1;- Specified by:
getBaseUrlin interfaceTransparencyLogInstanceOrBuilder- Returns:
- The baseUrl.
-
getBaseUrlBytes
public com.google.protobuf.ByteString getBaseUrlBytes()
The base URL at which can be used to URLs for the client.
string base_url = 1;- Specified by:
getBaseUrlBytesin interfaceTransparencyLogInstanceOrBuilder- Returns:
- The bytes for baseUrl.
-
setBaseUrl
public TransparencyLogInstance.Builder setBaseUrl(java.lang.String value)
The base URL at which can be used to URLs for the client.
string base_url = 1;- Parameters:
value- The baseUrl to set.- Returns:
- This builder for chaining.
-
clearBaseUrl
public TransparencyLogInstance.Builder clearBaseUrl()
The base URL at which can be used to URLs for the client.
string base_url = 1;- Returns:
- This builder for chaining.
-
setBaseUrlBytes
public TransparencyLogInstance.Builder setBaseUrlBytes(com.google.protobuf.ByteString value)
The base URL at which can be used to URLs for the client.
string base_url = 1;- Parameters:
value- The bytes for baseUrl to set.- Returns:
- This builder for chaining.
-
getHashAlgorithmValue
public int getHashAlgorithmValue()
The hash algorithm used for the Merkle Tree.
.dev.sigstore.common.v1.HashAlgorithm hash_algorithm = 2;- Specified by:
getHashAlgorithmValuein interfaceTransparencyLogInstanceOrBuilder- Returns:
- The enum numeric value on the wire for hashAlgorithm.
-
setHashAlgorithmValue
public TransparencyLogInstance.Builder setHashAlgorithmValue(int value)
The hash algorithm used for the Merkle Tree.
.dev.sigstore.common.v1.HashAlgorithm hash_algorithm = 2;- Parameters:
value- The enum numeric value on the wire for hashAlgorithm to set.- Returns:
- This builder for chaining.
-
getHashAlgorithm
public HashAlgorithm getHashAlgorithm()
The hash algorithm used for the Merkle Tree.
.dev.sigstore.common.v1.HashAlgorithm hash_algorithm = 2;- Specified by:
getHashAlgorithmin interfaceTransparencyLogInstanceOrBuilder- Returns:
- The hashAlgorithm.
-
setHashAlgorithm
public TransparencyLogInstance.Builder setHashAlgorithm(HashAlgorithm value)
The hash algorithm used for the Merkle Tree.
.dev.sigstore.common.v1.HashAlgorithm hash_algorithm = 2;- Parameters:
value- The hashAlgorithm to set.- Returns:
- This builder for chaining.
-
clearHashAlgorithm
public TransparencyLogInstance.Builder clearHashAlgorithm()
The hash algorithm used for the Merkle Tree.
.dev.sigstore.common.v1.HashAlgorithm hash_algorithm = 2;- Returns:
- This builder for chaining.
-
hasPublicKey
public boolean hasPublicKey()
The public key used to verify signatures generated by the log. This attribute contains the signature algorithm used by the log.
.dev.sigstore.common.v1.PublicKey public_key = 3;- Specified by:
hasPublicKeyin interfaceTransparencyLogInstanceOrBuilder- Returns:
- Whether the publicKey field is set.
-
getPublicKey
public PublicKey getPublicKey()
The public key used to verify signatures generated by the log. This attribute contains the signature algorithm used by the log.
.dev.sigstore.common.v1.PublicKey public_key = 3;- Specified by:
getPublicKeyin interfaceTransparencyLogInstanceOrBuilder- Returns:
- The publicKey.
-
setPublicKey
public TransparencyLogInstance.Builder setPublicKey(PublicKey value)
The public key used to verify signatures generated by the log. This attribute contains the signature algorithm used by the log.
.dev.sigstore.common.v1.PublicKey public_key = 3;
-
setPublicKey
public TransparencyLogInstance.Builder setPublicKey(PublicKey.Builder builderForValue)
The public key used to verify signatures generated by the log. This attribute contains the signature algorithm used by the log.
.dev.sigstore.common.v1.PublicKey public_key = 3;
-
mergePublicKey
public TransparencyLogInstance.Builder mergePublicKey(PublicKey value)
The public key used to verify signatures generated by the log. This attribute contains the signature algorithm used by the log.
.dev.sigstore.common.v1.PublicKey public_key = 3;
-
clearPublicKey
public TransparencyLogInstance.Builder clearPublicKey()
The public key used to verify signatures generated by the log. This attribute contains the signature algorithm used by the log.
.dev.sigstore.common.v1.PublicKey public_key = 3;
-
getPublicKeyBuilder
public PublicKey.Builder getPublicKeyBuilder()
The public key used to verify signatures generated by the log. This attribute contains the signature algorithm used by the log.
.dev.sigstore.common.v1.PublicKey public_key = 3;
-
getPublicKeyOrBuilder
public PublicKeyOrBuilder getPublicKeyOrBuilder()
The public key used to verify signatures generated by the log. This attribute contains the signature algorithm used by the log.
.dev.sigstore.common.v1.PublicKey public_key = 3;- Specified by:
getPublicKeyOrBuilderin interfaceTransparencyLogInstanceOrBuilder
-
hasLogId
public boolean hasLogId()
The unique identifier for this transparency log. Represented as the SHA-256 hash of the log's public key, calculated over the DER encoding of the key represented as SubjectPublicKeyInfo. See https://www.rfc-editor.org/rfc/rfc6962#section-3.2
.dev.sigstore.common.v1.LogId log_id = 4;- Specified by:
hasLogIdin interfaceTransparencyLogInstanceOrBuilder- Returns:
- Whether the logId field is set.
-
getLogId
public LogId getLogId()
The unique identifier for this transparency log. Represented as the SHA-256 hash of the log's public key, calculated over the DER encoding of the key represented as SubjectPublicKeyInfo. See https://www.rfc-editor.org/rfc/rfc6962#section-3.2
.dev.sigstore.common.v1.LogId log_id = 4;- Specified by:
getLogIdin interfaceTransparencyLogInstanceOrBuilder- Returns:
- The logId.
-
setLogId
public TransparencyLogInstance.Builder setLogId(LogId value)
The unique identifier for this transparency log. Represented as the SHA-256 hash of the log's public key, calculated over the DER encoding of the key represented as SubjectPublicKeyInfo. See https://www.rfc-editor.org/rfc/rfc6962#section-3.2
.dev.sigstore.common.v1.LogId log_id = 4;
-
setLogId
public TransparencyLogInstance.Builder setLogId(LogId.Builder builderForValue)
The unique identifier for this transparency log. Represented as the SHA-256 hash of the log's public key, calculated over the DER encoding of the key represented as SubjectPublicKeyInfo. See https://www.rfc-editor.org/rfc/rfc6962#section-3.2
.dev.sigstore.common.v1.LogId log_id = 4;
-
mergeLogId
public TransparencyLogInstance.Builder mergeLogId(LogId value)
The unique identifier for this transparency log. Represented as the SHA-256 hash of the log's public key, calculated over the DER encoding of the key represented as SubjectPublicKeyInfo. See https://www.rfc-editor.org/rfc/rfc6962#section-3.2
.dev.sigstore.common.v1.LogId log_id = 4;
-
clearLogId
public TransparencyLogInstance.Builder clearLogId()
The unique identifier for this transparency log. Represented as the SHA-256 hash of the log's public key, calculated over the DER encoding of the key represented as SubjectPublicKeyInfo. See https://www.rfc-editor.org/rfc/rfc6962#section-3.2
.dev.sigstore.common.v1.LogId log_id = 4;
-
getLogIdBuilder
public LogId.Builder getLogIdBuilder()
The unique identifier for this transparency log. Represented as the SHA-256 hash of the log's public key, calculated over the DER encoding of the key represented as SubjectPublicKeyInfo. See https://www.rfc-editor.org/rfc/rfc6962#section-3.2
.dev.sigstore.common.v1.LogId log_id = 4;
-
getLogIdOrBuilder
public LogIdOrBuilder getLogIdOrBuilder()
The unique identifier for this transparency log. Represented as the SHA-256 hash of the log's public key, calculated over the DER encoding of the key represented as SubjectPublicKeyInfo. See https://www.rfc-editor.org/rfc/rfc6962#section-3.2
.dev.sigstore.common.v1.LogId log_id = 4;- Specified by:
getLogIdOrBuilderin interfaceTransparencyLogInstanceOrBuilder
-
hasCheckpointKeyId
public boolean hasCheckpointKeyId()
The checkpoint key identifier for the log used in a checkpoint. Optional, not provided for logs that do not generate checkpoints. For logs that do generate checkpoints, if not set, assume log_id equals checkpoint_key_id. Follows the specification described here for ECDSA and Ed25519 signatures: https://github.com/C2SP/C2SP/blob/main/signed-note.md#signatures For RSA signatures, the key ID will match the ECDSA format, the hashed DER-encoded SPKI public key. Publicly witnessed logs MUST NOT use RSA-signed checkpoints, since witnesses do not support RSA signatures. This is provided for convenience. Clients can also calculate the checkpoint key ID given the log's public key. SHOULD be set for logs generating Ed25519 signatures. SHOULD be 4 bytes long, as a truncated hash.
.dev.sigstore.common.v1.LogId checkpoint_key_id = 5;- Specified by:
hasCheckpointKeyIdin interfaceTransparencyLogInstanceOrBuilder- Returns:
- Whether the checkpointKeyId field is set.
-
getCheckpointKeyId
public LogId getCheckpointKeyId()
The checkpoint key identifier for the log used in a checkpoint. Optional, not provided for logs that do not generate checkpoints. For logs that do generate checkpoints, if not set, assume log_id equals checkpoint_key_id. Follows the specification described here for ECDSA and Ed25519 signatures: https://github.com/C2SP/C2SP/blob/main/signed-note.md#signatures For RSA signatures, the key ID will match the ECDSA format, the hashed DER-encoded SPKI public key. Publicly witnessed logs MUST NOT use RSA-signed checkpoints, since witnesses do not support RSA signatures. This is provided for convenience. Clients can also calculate the checkpoint key ID given the log's public key. SHOULD be set for logs generating Ed25519 signatures. SHOULD be 4 bytes long, as a truncated hash.
.dev.sigstore.common.v1.LogId checkpoint_key_id = 5;- Specified by:
getCheckpointKeyIdin interfaceTransparencyLogInstanceOrBuilder- Returns:
- The checkpointKeyId.
-
setCheckpointKeyId
public TransparencyLogInstance.Builder setCheckpointKeyId(LogId value)
The checkpoint key identifier for the log used in a checkpoint. Optional, not provided for logs that do not generate checkpoints. For logs that do generate checkpoints, if not set, assume log_id equals checkpoint_key_id. Follows the specification described here for ECDSA and Ed25519 signatures: https://github.com/C2SP/C2SP/blob/main/signed-note.md#signatures For RSA signatures, the key ID will match the ECDSA format, the hashed DER-encoded SPKI public key. Publicly witnessed logs MUST NOT use RSA-signed checkpoints, since witnesses do not support RSA signatures. This is provided for convenience. Clients can also calculate the checkpoint key ID given the log's public key. SHOULD be set for logs generating Ed25519 signatures. SHOULD be 4 bytes long, as a truncated hash.
.dev.sigstore.common.v1.LogId checkpoint_key_id = 5;
-
setCheckpointKeyId
public TransparencyLogInstance.Builder setCheckpointKeyId(LogId.Builder builderForValue)
The checkpoint key identifier for the log used in a checkpoint. Optional, not provided for logs that do not generate checkpoints. For logs that do generate checkpoints, if not set, assume log_id equals checkpoint_key_id. Follows the specification described here for ECDSA and Ed25519 signatures: https://github.com/C2SP/C2SP/blob/main/signed-note.md#signatures For RSA signatures, the key ID will match the ECDSA format, the hashed DER-encoded SPKI public key. Publicly witnessed logs MUST NOT use RSA-signed checkpoints, since witnesses do not support RSA signatures. This is provided for convenience. Clients can also calculate the checkpoint key ID given the log's public key. SHOULD be set for logs generating Ed25519 signatures. SHOULD be 4 bytes long, as a truncated hash.
.dev.sigstore.common.v1.LogId checkpoint_key_id = 5;
-
mergeCheckpointKeyId
public TransparencyLogInstance.Builder mergeCheckpointKeyId(LogId value)
The checkpoint key identifier for the log used in a checkpoint. Optional, not provided for logs that do not generate checkpoints. For logs that do generate checkpoints, if not set, assume log_id equals checkpoint_key_id. Follows the specification described here for ECDSA and Ed25519 signatures: https://github.com/C2SP/C2SP/blob/main/signed-note.md#signatures For RSA signatures, the key ID will match the ECDSA format, the hashed DER-encoded SPKI public key. Publicly witnessed logs MUST NOT use RSA-signed checkpoints, since witnesses do not support RSA signatures. This is provided for convenience. Clients can also calculate the checkpoint key ID given the log's public key. SHOULD be set for logs generating Ed25519 signatures. SHOULD be 4 bytes long, as a truncated hash.
.dev.sigstore.common.v1.LogId checkpoint_key_id = 5;
-
clearCheckpointKeyId
public TransparencyLogInstance.Builder clearCheckpointKeyId()
The checkpoint key identifier for the log used in a checkpoint. Optional, not provided for logs that do not generate checkpoints. For logs that do generate checkpoints, if not set, assume log_id equals checkpoint_key_id. Follows the specification described here for ECDSA and Ed25519 signatures: https://github.com/C2SP/C2SP/blob/main/signed-note.md#signatures For RSA signatures, the key ID will match the ECDSA format, the hashed DER-encoded SPKI public key. Publicly witnessed logs MUST NOT use RSA-signed checkpoints, since witnesses do not support RSA signatures. This is provided for convenience. Clients can also calculate the checkpoint key ID given the log's public key. SHOULD be set for logs generating Ed25519 signatures. SHOULD be 4 bytes long, as a truncated hash.
.dev.sigstore.common.v1.LogId checkpoint_key_id = 5;
-
getCheckpointKeyIdBuilder
public LogId.Builder getCheckpointKeyIdBuilder()
The checkpoint key identifier for the log used in a checkpoint. Optional, not provided for logs that do not generate checkpoints. For logs that do generate checkpoints, if not set, assume log_id equals checkpoint_key_id. Follows the specification described here for ECDSA and Ed25519 signatures: https://github.com/C2SP/C2SP/blob/main/signed-note.md#signatures For RSA signatures, the key ID will match the ECDSA format, the hashed DER-encoded SPKI public key. Publicly witnessed logs MUST NOT use RSA-signed checkpoints, since witnesses do not support RSA signatures. This is provided for convenience. Clients can also calculate the checkpoint key ID given the log's public key. SHOULD be set for logs generating Ed25519 signatures. SHOULD be 4 bytes long, as a truncated hash.
.dev.sigstore.common.v1.LogId checkpoint_key_id = 5;
-
getCheckpointKeyIdOrBuilder
public LogIdOrBuilder getCheckpointKeyIdOrBuilder()
The checkpoint key identifier for the log used in a checkpoint. Optional, not provided for logs that do not generate checkpoints. For logs that do generate checkpoints, if not set, assume log_id equals checkpoint_key_id. Follows the specification described here for ECDSA and Ed25519 signatures: https://github.com/C2SP/C2SP/blob/main/signed-note.md#signatures For RSA signatures, the key ID will match the ECDSA format, the hashed DER-encoded SPKI public key. Publicly witnessed logs MUST NOT use RSA-signed checkpoints, since witnesses do not support RSA signatures. This is provided for convenience. Clients can also calculate the checkpoint key ID given the log's public key. SHOULD be set for logs generating Ed25519 signatures. SHOULD be 4 bytes long, as a truncated hash.
.dev.sigstore.common.v1.LogId checkpoint_key_id = 5;- Specified by:
getCheckpointKeyIdOrBuilderin interfaceTransparencyLogInstanceOrBuilder
-
-