org.bouncycastle.asn1.test.RegressionTest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bouncycastle Show documentation
Show all versions of bouncycastle Show documentation
The Bouncy Castle Java APIs for CMS, PKCS, EAC, TSP, CMP, CRMF, OCSP, and certificate generation. This jar
contains APIs for JDK 1.5 and up. The APIs can be used in conjunction with a JCE/JCA provider such as the one
provided with the Bouncy Castle Cryptography APIs.
package org.bouncycastle.asn1.test;
import org.bouncycastle.util.test.SimpleTest;
import org.bouncycastle.util.test.Test;
public class RegressionTest
{
public static Test[] tests = {
new InputStreamTest(),
new EqualsAndHashCodeTest(),
new TagTest(),
new SetTest(),
new ASN1IntegerTest(),
new DERUTF8StringTest(),
new CertificateTest(),
new GenerationTest(),
new CMSTest(),
new OCSPTest(),
new OIDTest(),
new PKCS10Test(),
new PKCS12Test(),
new X509NameTest(),
new X500NameTest(),
new X509ExtensionsTest(),
new GeneralizedTimeTest(),
new BitStringTest(),
new MiscTest(),
new SMIMETest(),
new X9Test(),
new MonetaryValueUnitTest(),
new BiometricDataUnitTest(),
new Iso4217CurrencyCodeUnitTest(),
new SemanticsInformationUnitTest(),
new QCStatementUnitTest(),
new TypeOfBiometricDataUnitTest(),
new SignerLocationUnitTest(),
new CommitmentTypeQualifierUnitTest(),
new CommitmentTypeIndicationUnitTest(),
new EncryptedPrivateKeyInfoTest(),
new DataGroupHashUnitTest(),
new LDSSecurityObjectUnitTest(),
new CscaMasterListTest(),
new AttributeTableUnitTest(),
new ReasonFlagsTest(),
new NetscapeCertTypeTest(),
new PKIFailureInfoTest(),
new KeyUsageTest(),
new StringTest(),
new UTCTimeTest(),
new RequestedCertificateUnitTest(),
new OtherCertIDUnitTest(),
new OtherSigningCertificateUnitTest(),
new ContentHintsUnitTest(),
new CertHashUnitTest(),
new AdditionalInformationSyntaxUnitTest(),
new AdmissionSyntaxUnitTest(),
new AdmissionsUnitTest(),
new DeclarationOfMajorityUnitTest(),
new ProcurationSyntaxUnitTest(),
new ProfessionInfoUnitTest(),
new RestrictionUnitTest(),
new NamingAuthorityUnitTest(),
new MonetaryLimitUnitTest(),
new NameOrPseudonymUnitTest(),
new PersonalDataUnitTest(),
new DERApplicationSpecificTest(),
new IssuingDistributionPointUnitTest(),
new TargetInformationTest(),
new SubjectKeyIdentifierTest(),
new ESSCertIDv2UnitTest(),
new ParsingTest(),
new GeneralNameTest(),
new ObjectIdentifierTest(),
new RFC4519Test(),
new PolicyConstraintsTest(),
new PollReqContentTest(),
new DhSigStaticTest(),
new PKIPublicationInfoTest(),
new CertifiedKeyPairTest(),
new PrivateKeyInfoTest(),
new LocaleTest(),
new LinkedCertificateTest(),
new DLExternalTest(),
new KMACParamsTest()
};
public static void main(String[] args)
{
SimpleTest.runTests(tests);
}
}