Package dev.sigstore.proto.trustroot.v1
Interface TransparencyLogInstanceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransparencyLogInstance,TransparencyLogInstance.Builder
public interface TransparencyLogInstanceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.LogIdOrBuildergetCheckpointKeyIdOrBuilder()The checkpoint key identifier for the log used in a checkpoint.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.LogIdOrBuildergetLogIdOrBuilder()The unique identifier for this transparency log.PublicKeygetPublicKey()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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getBaseUrl
java.lang.String getBaseUrl()
The base URL at which can be used to URLs for the client.
string base_url = 1;- Returns:
- The baseUrl.
-
getBaseUrlBytes
com.google.protobuf.ByteString getBaseUrlBytes()
The base URL at which can be used to URLs for the client.
string base_url = 1;- Returns:
- The bytes for baseUrl.
-
getHashAlgorithmValue
int getHashAlgorithmValue()
The hash algorithm used for the Merkle Tree.
.dev.sigstore.common.v1.HashAlgorithm hash_algorithm = 2;- Returns:
- The enum numeric value on the wire for hashAlgorithm.
-
getHashAlgorithm
HashAlgorithm getHashAlgorithm()
The hash algorithm used for the Merkle Tree.
.dev.sigstore.common.v1.HashAlgorithm hash_algorithm = 2;- Returns:
- The hashAlgorithm.
-
hasPublicKey
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;- Returns:
- Whether the publicKey field is set.
-
getPublicKey
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;- Returns:
- The publicKey.
-
getPublicKeyOrBuilder
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;
-
hasLogId
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;- Returns:
- Whether the logId field is set.
-
getLogId
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;- Returns:
- The logId.
-
getLogIdOrBuilder
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;
-
hasCheckpointKeyId
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;- Returns:
- Whether the checkpointKeyId field is set.
-
getCheckpointKeyId
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;- Returns:
- The checkpointKeyId.
-
getCheckpointKeyIdOrBuilder
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;
-
-