Package dev.sigstore.proto.common.v1
Interface PublicKeyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PublicKey,PublicKey.Builder
public interface PublicKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PublicKeyDetailsgetKeyDetails()Key encoding and signature algorithm to use for this key.intgetKeyDetailsValue()Key encoding and signature algorithm to use for this key.com.google.protobuf.ByteStringgetRawBytes()DER-encoded public key, encoding method is specified by the key_details attribute.TimeRangegetValidFor()Optional validity period for this key, *inclusive* of the endpoints.TimeRangeOrBuildergetValidForOrBuilder()Optional validity period for this key, *inclusive* of the endpoints.booleanhasRawBytes()DER-encoded public key, encoding method is specified by the key_details attribute.booleanhasValidFor()Optional validity period for this key, *inclusive* of the endpoints.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRawBytes
boolean hasRawBytes()
DER-encoded public key, encoding method is specified by the key_details attribute.
optional bytes raw_bytes = 1;- Returns:
- Whether the rawBytes field is set.
-
getRawBytes
com.google.protobuf.ByteString getRawBytes()
DER-encoded public key, encoding method is specified by the key_details attribute.
optional bytes raw_bytes = 1;- Returns:
- The rawBytes.
-
getKeyDetailsValue
int getKeyDetailsValue()
Key encoding and signature algorithm to use for this key.
.dev.sigstore.common.v1.PublicKeyDetails key_details = 2;- Returns:
- The enum numeric value on the wire for keyDetails.
-
getKeyDetails
PublicKeyDetails getKeyDetails()
Key encoding and signature algorithm to use for this key.
.dev.sigstore.common.v1.PublicKeyDetails key_details = 2;- Returns:
- The keyDetails.
-
hasValidFor
boolean hasValidFor()
Optional validity period for this key, *inclusive* of the endpoints.
optional .dev.sigstore.common.v1.TimeRange valid_for = 3;- Returns:
- Whether the validFor field is set.
-
getValidFor
TimeRange getValidFor()
Optional validity period for this key, *inclusive* of the endpoints.
optional .dev.sigstore.common.v1.TimeRange valid_for = 3;- Returns:
- The validFor.
-
getValidForOrBuilder
TimeRangeOrBuilder getValidForOrBuilder()
Optional validity period for this key, *inclusive* of the endpoints.
optional .dev.sigstore.common.v1.TimeRange valid_for = 3;
-
-