Class CertTest

  • All Implemented Interfaces:
    Test

    public class CertTest
    extends SimpleTest
    • Constructor Detail

      • CertTest

        public CertTest()
    • Method Detail

      • checkCertificate

        public void checkCertificate​(int id,
                                     byte[] bytes)
      • checkCertificate

        public void checkCertificate​(int id,
                                     byte[] bytes,
                                     java.security.PublicKey pubKey)
      • checkNameCertificate

        public void checkNameCertificate​(int id,
                                         byte[] bytes)
      • checkKeyUsage

        public void checkKeyUsage​(int id,
                                  byte[] bytes)
      • checkSelfSignedCertificate

        public void checkSelfSignedCertificate​(int id,
                                               byte[] bytes,
                                               java.lang.String sigAlgName)
      • checkCertificateSignedBy

        public void checkCertificateSignedBy​(int id,
                                             byte[] certBytes,
                                             byte[] signingCertBytes)
      • performTest

        public void performTest()
                         throws java.lang.Exception
        Specified by:
        performTest in class SimpleTest
        Throws:
        java.lang.Exception
      • main

        public static void main​(java.lang.String[] args)