Class BundleVerifier


  • public class BundleVerifier
    extends java.lang.Object
    Implements Sigstore Bundle verification.
    • Constructor Summary

      Constructors 
      Constructor Description
      BundleVerifier()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> allMissingFields​(java.lang.String bundleJson)
      Parses Sigstore Bundle JSON into protobuf.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BundleVerifier

        public BundleVerifier()
    • Method Detail

      • allMissingFields

        public static java.util.List<java.lang.String> allMissingFields​(java.lang.String bundleJson)
        Parses Sigstore Bundle JSON into protobuf.
        Parameters:
        bundleJson - input JSON
        Returns:
        a list of required fields missing in a bundle
        Throws:
        java.lang.IllegalArgumentException - if the JSON is invalid