Package dev.sigstore.fulcio.v2
Class SigningCertificateDetachedSCT.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<SigningCertificateDetachedSCT.Builder>
-
- dev.sigstore.fulcio.v2.SigningCertificateDetachedSCT.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SigningCertificateDetachedSCTOrBuilder,java.lang.Cloneable
- Enclosing class:
- SigningCertificateDetachedSCT
public static final class SigningCertificateDetachedSCT.Builder extends com.google.protobuf.GeneratedMessage.Builder<SigningCertificateDetachedSCT.Builder> implements SigningCertificateDetachedSCTOrBuilder
(-- api-linter: core::0142::time-field-type=disabled aip.dev/not-precedent: SCT is defined in RFC6962 and we keep the name consistent for easier understanding. --)
Protobuf typedev.sigstore.fulcio.v2.SigningCertificateDetachedSCT
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SigningCertificateDetachedSCTbuild()SigningCertificateDetachedSCTbuildPartial()SigningCertificateDetachedSCT.Builderclear()SigningCertificateDetachedSCT.BuilderclearChain()The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.SigningCertificateDetachedSCT.BuilderclearSignedCertificateTimestamp()The signed certificate timestamp is a promise for including the certificate in a certificate transparency log.CertificateChaingetChain()The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.CertificateChain.BuildergetChainBuilder()The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.CertificateChainOrBuildergetChainOrBuilder()The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.SigningCertificateDetachedSCTgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.ByteStringgetSignedCertificateTimestamp()The signed certificate timestamp is a promise for including the certificate in a certificate transparency log.booleanhasChain()The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SigningCertificateDetachedSCT.BuildermergeChain(CertificateChain value)The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.SigningCertificateDetachedSCT.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SigningCertificateDetachedSCT.BuildermergeFrom(com.google.protobuf.Message other)SigningCertificateDetachedSCT.BuildermergeFrom(SigningCertificateDetachedSCT other)SigningCertificateDetachedSCT.BuildersetChain(CertificateChain value)The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.SigningCertificateDetachedSCT.BuildersetChain(CertificateChain.Builder builderForValue)The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.SigningCertificateDetachedSCT.BuildersetSignedCertificateTimestamp(com.google.protobuf.ByteString value)The signed certificate timestamp is a promise for including the certificate in a certificate transparency 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<SigningCertificateDetachedSCT.Builder>
-
clear
public SigningCertificateDetachedSCT.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<SigningCertificateDetachedSCT.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<SigningCertificateDetachedSCT.Builder>
-
getDefaultInstanceForType
public SigningCertificateDetachedSCT getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SigningCertificateDetachedSCT build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SigningCertificateDetachedSCT buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public SigningCertificateDetachedSCT.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SigningCertificateDetachedSCT.Builder>
-
mergeFrom
public SigningCertificateDetachedSCT.Builder mergeFrom(SigningCertificateDetachedSCT other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SigningCertificateDetachedSCT.Builder>
-
mergeFrom
public SigningCertificateDetachedSCT.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<SigningCertificateDetachedSCT.Builder>- Throws:
java.io.IOException
-
hasChain
public boolean hasChain()
The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate. All values are PEM-encoded certificates.
.dev.sigstore.fulcio.v2.CertificateChain chain = 1;- Specified by:
hasChainin interfaceSigningCertificateDetachedSCTOrBuilder- Returns:
- Whether the chain field is set.
-
getChain
public CertificateChain getChain()
The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate. All values are PEM-encoded certificates.
.dev.sigstore.fulcio.v2.CertificateChain chain = 1;- Specified by:
getChainin interfaceSigningCertificateDetachedSCTOrBuilder- Returns:
- The chain.
-
setChain
public SigningCertificateDetachedSCT.Builder setChain(CertificateChain value)
The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate. All values are PEM-encoded certificates.
.dev.sigstore.fulcio.v2.CertificateChain chain = 1;
-
setChain
public SigningCertificateDetachedSCT.Builder setChain(CertificateChain.Builder builderForValue)
The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate. All values are PEM-encoded certificates.
.dev.sigstore.fulcio.v2.CertificateChain chain = 1;
-
mergeChain
public SigningCertificateDetachedSCT.Builder mergeChain(CertificateChain value)
The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate. All values are PEM-encoded certificates.
.dev.sigstore.fulcio.v2.CertificateChain chain = 1;
-
clearChain
public SigningCertificateDetachedSCT.Builder clearChain()
The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate. All values are PEM-encoded certificates.
.dev.sigstore.fulcio.v2.CertificateChain chain = 1;
-
getChainBuilder
public CertificateChain.Builder getChainBuilder()
The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate. All values are PEM-encoded certificates.
.dev.sigstore.fulcio.v2.CertificateChain chain = 1;
-
getChainOrBuilder
public CertificateChainOrBuilder getChainOrBuilder()
The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate. All values are PEM-encoded certificates.
.dev.sigstore.fulcio.v2.CertificateChain chain = 1;- Specified by:
getChainOrBuilderin interfaceSigningCertificateDetachedSCTOrBuilder
-
getSignedCertificateTimestamp
public com.google.protobuf.ByteString getSignedCertificateTimestamp()
The signed certificate timestamp is a promise for including the certificate in a certificate transparency log. It can be "stapled" to verify the inclusion of a certificate in the log in an offline fashion.
bytes signed_certificate_timestamp = 2;- Specified by:
getSignedCertificateTimestampin interfaceSigningCertificateDetachedSCTOrBuilder- Returns:
- The signedCertificateTimestamp.
-
setSignedCertificateTimestamp
public SigningCertificateDetachedSCT.Builder setSignedCertificateTimestamp(com.google.protobuf.ByteString value)
The signed certificate timestamp is a promise for including the certificate in a certificate transparency log. It can be "stapled" to verify the inclusion of a certificate in the log in an offline fashion.
bytes signed_certificate_timestamp = 2;- Parameters:
value- The signedCertificateTimestamp to set.- Returns:
- This builder for chaining.
-
clearSignedCertificateTimestamp
public SigningCertificateDetachedSCT.Builder clearSignedCertificateTimestamp()
The signed certificate timestamp is a promise for including the certificate in a certificate transparency log. It can be "stapled" to verify the inclusion of a certificate in the log in an offline fashion.
bytes signed_certificate_timestamp = 2;- Returns:
- This builder for chaining.
-
-