Package dev.sigstore.fulcio.v2
Interface CertificateChainOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CertificateChain,CertificateChain.Builder
public interface CertificateChainOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCertificates(int index)The PEM-encoded certificate chain, ordered from leaf to intermediate to root as applicable.com.google.protobuf.ByteStringgetCertificatesBytes(int index)The PEM-encoded certificate chain, ordered from leaf to intermediate to root as applicable.intgetCertificatesCount()The PEM-encoded certificate chain, ordered from leaf to intermediate to root as applicable.java.util.List<java.lang.String>getCertificatesList()The PEM-encoded certificate chain, ordered from leaf to intermediate to root as applicable.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCertificatesList
java.util.List<java.lang.String> getCertificatesList()
The PEM-encoded certificate chain, ordered from leaf to intermediate to root as applicable.
repeated string certificates = 1;- Returns:
- A list containing the certificates.
-
getCertificatesCount
int getCertificatesCount()
The PEM-encoded certificate chain, ordered from leaf to intermediate to root as applicable.
repeated string certificates = 1;- Returns:
- The count of certificates.
-
getCertificates
java.lang.String getCertificates(int index)
The PEM-encoded certificate chain, ordered from leaf to intermediate to root as applicable.
repeated string certificates = 1;- Parameters:
index- The index of the element to return.- Returns:
- The certificates at the given index.
-
getCertificatesBytes
com.google.protobuf.ByteString getCertificatesBytes(int index)
The PEM-encoded certificate chain, ordered from leaf to intermediate to root as applicable.
repeated string certificates = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the certificates at the given index.
-
-