Package dev.sigstore
Interface VerificationOptions.CertificateMatcher
-
- All Superinterfaces:
java.util.function.Predicate<java.security.cert.X509Certificate>
- All Known Implementing Classes:
FulcioCertificateMatcher
- Enclosing interface:
- VerificationOptions
public static interface VerificationOptions.CertificateMatcher extends java.util.function.Predicate<java.security.cert.X509Certificate>An interface for allowing matching of certificates. Usefulcio()to instantiate the defaultFulcioCertificateMatcherimplementation. Custom implementations may throwVerificationOptions.UncheckedCertificateExceptionif an error occurs processing the certificate on calls totest(X509Certificate). Any other runtime exception will not be handled.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static dev.sigstore.fulcio.client.ImmutableFulcioCertificateMatcher.Builderfulcio()booleantest(java.security.cert.X509Certificate certificate)
-
-
-
Method Detail
-
test
boolean test(java.security.cert.X509Certificate certificate) throws VerificationOptions.UncheckedCertificateException- Specified by:
testin interfacejava.util.function.Predicate<java.security.cert.X509Certificate>- Throws:
VerificationOptions.UncheckedCertificateException
-
fulcio
static dev.sigstore.fulcio.client.ImmutableFulcioCertificateMatcher.Builder fulcio()
-
-