com.tibbo.aggregate.common.resource

## Class JarVerifier

- java.lang.Object
- - com.tibbo.aggregate.common.resource.JarVerifier

-     public class JarVerifier
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JarVerifier()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.security.cert.X509Certificate[]` | `getChainRoots(java.security.cert.Certificate[] certs)`
    `static boolean` | `isTrusted(java.security.cert.X509Certificate cert, java.security.cert.X509Certificate[] trustedCaCerts)`
    `static void` | `verify(java.util.jar.JarEntry je, java.security.cert.X509Certificate[] trustedCaCerts)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JarVerifier

          public JarVerifier()

  - ### Method Detail

    - #### verify

          public static void verify(java.util.jar.JarEntry je,
                                    java.security.cert.X509Certificate[] trustedCaCerts)
                             throws java.io.IOException,
                                    java.security.cert.CertificateException

      Throws:
        `java.io.IOException`
        `java.security.cert.CertificateException`

    - #### isTrusted

          public static boolean isTrusted(java.security.cert.X509Certificate cert,
                                          java.security.cert.X509Certificate[] trustedCaCerts)

    - #### getChainRoots

          public static java.security.cert.X509Certificate[] getChainRoots(java.security.cert.Certificate[] certs)