Package dev.sigstore.proto.trustroot.v1
Class SigningConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- dev.sigstore.proto.trustroot.v1.SigningConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SigningConfigOrBuilder,java.io.Serializable
public final class SigningConfig extends com.google.protobuf.GeneratedMessage implements SigningConfigOrBuilder
SigningConfig represents the trusted entities/state needed by Sigstore signing. In particular, it primarily contains service URLs that a Sigstore signer may need to connect to for the online aspects of signing.
Protobuf typedev.sigstore.trustroot.v1.SigningConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSigningConfig.BuilderSigningConfig represents the trusted entities/state needed by Sigstore signing.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCA_URL_FIELD_NUMBERstatic intOIDC_URL_FIELD_NUMBERstatic intTLOG_URLS_FIELD_NUMBERstatic intTSA_URLS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCaUrl()A URL to a Fulcio-compatible CA, capable of receiving Certificate Signing Requests (CSRs) and responding with issued certificates.com.google.protobuf.ByteStringgetCaUrlBytes()A URL to a Fulcio-compatible CA, capable of receiving Certificate Signing Requests (CSRs) and responding with issued certificates.static SigningConfiggetDefaultInstance()SigningConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetOidcUrl()A URL to an OpenID Connect identity provider.com.google.protobuf.ByteStringgetOidcUrlBytes()A URL to an OpenID Connect identity provider.com.google.protobuf.Parser<SigningConfig>getParserForType()intgetSerializedSize()java.lang.StringgetTlogUrls(int index)One or more URLs to Rekor-compatible transparency log.com.google.protobuf.ByteStringgetTlogUrlsBytes(int index)One or more URLs to Rekor-compatible transparency log.intgetTlogUrlsCount()One or more URLs to Rekor-compatible transparency log.com.google.protobuf.ProtocolStringListgetTlogUrlsList()One or more URLs to Rekor-compatible transparency log.java.lang.StringgetTsaUrls(int index)One ore more URLs to RFC 3161 Time Stamping Authority (TSA).com.google.protobuf.ByteStringgetTsaUrlsBytes(int index)One ore more URLs to RFC 3161 Time Stamping Authority (TSA).intgetTsaUrlsCount()One ore more URLs to RFC 3161 Time Stamping Authority (TSA).com.google.protobuf.ProtocolStringListgetTsaUrlsList()One ore more URLs to RFC 3161 Time Stamping Authority (TSA).inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SigningConfig.BuildernewBuilder()static SigningConfig.BuildernewBuilder(SigningConfig prototype)SigningConfig.BuildernewBuilderForType()protected SigningConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static SigningConfigparseDelimitedFrom(java.io.InputStream input)static SigningConfigparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SigningConfigparseFrom(byte[] data)static SigningConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SigningConfigparseFrom(com.google.protobuf.ByteString data)static SigningConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SigningConfigparseFrom(com.google.protobuf.CodedInputStream input)static SigningConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SigningConfigparseFrom(java.io.InputStream input)static SigningConfigparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SigningConfigparseFrom(java.nio.ByteBuffer data)static SigningConfigparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SigningConfig>parser()SigningConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CA_URL_FIELD_NUMBER
public static final int CA_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OIDC_URL_FIELD_NUMBER
public static final int OIDC_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TLOG_URLS_FIELD_NUMBER
public static final int TLOG_URLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TSA_URLS_FIELD_NUMBER
public static final int TSA_URLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
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
-
getCaUrl
public java.lang.String getCaUrl()
A URL to a Fulcio-compatible CA, capable of receiving Certificate Signing Requests (CSRs) and responding with issued certificates. This URL **MUST** be the "base" URL for the CA, which clients should construct an appropriate CSR endpoint on top of. For example, if `ca_url` is `https://example.com/ca`, then the client **MAY** construct the CSR endpoint as `https://example.com/ca/api/v2/signingCert`.
string ca_url = 1;- Specified by:
getCaUrlin interfaceSigningConfigOrBuilder- Returns:
- The caUrl.
-
getCaUrlBytes
public com.google.protobuf.ByteString getCaUrlBytes()
A URL to a Fulcio-compatible CA, capable of receiving Certificate Signing Requests (CSRs) and responding with issued certificates. This URL **MUST** be the "base" URL for the CA, which clients should construct an appropriate CSR endpoint on top of. For example, if `ca_url` is `https://example.com/ca`, then the client **MAY** construct the CSR endpoint as `https://example.com/ca/api/v2/signingCert`.
string ca_url = 1;- Specified by:
getCaUrlBytesin interfaceSigningConfigOrBuilder- Returns:
- The bytes for caUrl.
-
getOidcUrl
public java.lang.String getOidcUrl()
A URL to an OpenID Connect identity provider. This URL **MUST** be the "base" URL for the OIDC IdP, which clients should perform well-known OpenID Connect discovery against.
string oidc_url = 2;- Specified by:
getOidcUrlin interfaceSigningConfigOrBuilder- Returns:
- The oidcUrl.
-
getOidcUrlBytes
public com.google.protobuf.ByteString getOidcUrlBytes()
A URL to an OpenID Connect identity provider. This URL **MUST** be the "base" URL for the OIDC IdP, which clients should perform well-known OpenID Connect discovery against.
string oidc_url = 2;- Specified by:
getOidcUrlBytesin interfaceSigningConfigOrBuilder- Returns:
- The bytes for oidcUrl.
-
getTlogUrlsList
public com.google.protobuf.ProtocolStringList getTlogUrlsList()
One or more URLs to Rekor-compatible transparency log. Each URL **MUST** be the "base" URL for the transparency log, which clients should construct appropriate API endpoints on top of.
repeated string tlog_urls = 3;- Specified by:
getTlogUrlsListin interfaceSigningConfigOrBuilder- Returns:
- A list containing the tlogUrls.
-
getTlogUrlsCount
public int getTlogUrlsCount()
One or more URLs to Rekor-compatible transparency log. Each URL **MUST** be the "base" URL for the transparency log, which clients should construct appropriate API endpoints on top of.
repeated string tlog_urls = 3;- Specified by:
getTlogUrlsCountin interfaceSigningConfigOrBuilder- Returns:
- The count of tlogUrls.
-
getTlogUrls
public java.lang.String getTlogUrls(int index)
One or more URLs to Rekor-compatible transparency log. Each URL **MUST** be the "base" URL for the transparency log, which clients should construct appropriate API endpoints on top of.
repeated string tlog_urls = 3;- Specified by:
getTlogUrlsin interfaceSigningConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tlogUrls at the given index.
-
getTlogUrlsBytes
public com.google.protobuf.ByteString getTlogUrlsBytes(int index)
One or more URLs to Rekor-compatible transparency log. Each URL **MUST** be the "base" URL for the transparency log, which clients should construct appropriate API endpoints on top of.
repeated string tlog_urls = 3;- Specified by:
getTlogUrlsBytesin interfaceSigningConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tlogUrls at the given index.
-
getTsaUrlsList
public com.google.protobuf.ProtocolStringList getTsaUrlsList()
One ore more URLs to RFC 3161 Time Stamping Authority (TSA). Each URL **MUST** be the **full** URL for the TSA, meaning that it should be suitable for submitting Time Stamp Requests (TSRs) to via HTTP, per RFC 3161.
repeated string tsa_urls = 4;- Specified by:
getTsaUrlsListin interfaceSigningConfigOrBuilder- Returns:
- A list containing the tsaUrls.
-
getTsaUrlsCount
public int getTsaUrlsCount()
One ore more URLs to RFC 3161 Time Stamping Authority (TSA). Each URL **MUST** be the **full** URL for the TSA, meaning that it should be suitable for submitting Time Stamp Requests (TSRs) to via HTTP, per RFC 3161.
repeated string tsa_urls = 4;- Specified by:
getTsaUrlsCountin interfaceSigningConfigOrBuilder- Returns:
- The count of tsaUrls.
-
getTsaUrls
public java.lang.String getTsaUrls(int index)
One ore more URLs to RFC 3161 Time Stamping Authority (TSA). Each URL **MUST** be the **full** URL for the TSA, meaning that it should be suitable for submitting Time Stamp Requests (TSRs) to via HTTP, per RFC 3161.
repeated string tsa_urls = 4;- Specified by:
getTsaUrlsin interfaceSigningConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tsaUrls at the given index.
-
getTsaUrlsBytes
public com.google.protobuf.ByteString getTsaUrlsBytes(int index)
One ore more URLs to RFC 3161 Time Stamping Authority (TSA). Each URL **MUST** be the **full** URL for the TSA, meaning that it should be suitable for submitting Time Stamp Requests (TSRs) to via HTTP, per RFC 3161.
repeated string tsa_urls = 4;- Specified by:
getTsaUrlsBytesin interfaceSigningConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tsaUrls at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SigningConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SigningConfig parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SigningConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SigningConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SigningConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SigningConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SigningConfig parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SigningConfig parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SigningConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SigningConfig parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SigningConfig parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SigningConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public SigningConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SigningConfig.Builder newBuilder()
-
newBuilder
public static SigningConfig.Builder newBuilder(SigningConfig prototype)
-
toBuilder
public SigningConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SigningConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static SigningConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SigningConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<SigningConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public SigningConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-