Class CertTest

java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.cert.test.CertTest
All Implemented Interfaces:
org.bouncycastle.util.test.Test

public class CertTest extends org.bouncycastle.util.test.SimpleTest
  • Constructor Details

    • CertTest

      public CertTest()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.bouncycastle.util.test.Test
      Specified by:
      getName in class org.bouncycastle.util.test.SimpleTest
    • checkCertificate

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

      public void checkCertificate(int id, byte[] bytes, 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)
    • checkSelfSignedCertificateAndKey

      public void checkSelfSignedCertificateAndKey(int id, byte[] certBytes, String sigAlgorithm, byte[] keyBytes)
    • checkCreation1

      public void checkCreation1() throws Exception
      Throws:
      Exception
    • checkCreation2

      public void checkCreation2() throws Exception
      Throws:
      Exception
    • checkSm3WithSm2Creation

      public void checkSm3WithSm2Creation() throws Exception
      Throws:
      Exception
    • checkCreation3

      public void checkCreation3()
    • checkCRLCreation1

      public void checkCRLCreation1() throws Exception
      Throws:
      Exception
    • checkCRLCreation2

      public void checkCRLCreation2() throws Exception
      Throws:
      Exception
    • checkCRLCreation3

      public void checkCRLCreation3() throws Exception
      Throws:
      Exception
    • checkCRLCreation4

      public void checkCRLCreation4() throws Exception
      Throws:
      Exception
    • checkCRLCreation5

      public void checkCRLCreation5() throws Exception
      Throws:
      Exception
    • checkCRLCompositeCreation

      public void checkCRLCompositeCreation() throws Exception
      Throws:
      Exception
    • checkCreation4

      public void checkCreation4() throws Exception
      Throws:
      Exception
    • checkCreation5

      public void checkCreation5() throws Exception
      Throws:
      Exception
    • checkCreation6

      public void checkCreation6() throws Exception
      Throws:
      Exception
    • checkCreation7

      public void checkCreation7() throws Exception
      Throws:
      Exception
    • checkCreation8

      public void checkCreation8() throws Exception
      Throws:
      Exception
    • checkCreation9

      public void checkCreation9() throws Exception
      Throws:
      Exception
    • checkCreation10

      public void checkCreation10() throws Exception
      Throws:
      Exception
    • checkCreationQTESLA

      public void checkCreationQTESLA() throws Exception
      Throws:
      Exception
    • checkCreationDSA

      public void checkCreationDSA() throws Exception
      Throws:
      Exception
    • checkCreationRSA

      public void checkCreationRSA() throws Exception
      Throws:
      Exception
    • checkCreationRSAPSS

      public void checkCreationRSAPSS() throws Exception
      Throws:
      Exception
    • checkCreationECDSA

      public void checkCreationECDSA() throws Exception
      Throws:
      Exception
    • checkCreationComposite

      public void checkCreationComposite() throws Exception
      Throws:
      Exception
    • performTest

      public void performTest() throws Exception
      Specified by:
      performTest in class org.bouncycastle.util.test.SimpleTest
      Throws:
      Exception
    • main

      public static void main(String[] args)