Package org.bouncycastle.asn1.test
Class ASN1UnitTest
- java.lang.Object
-
- org.bouncycastle.util.test.SimpleTest
-
- org.bouncycastle.asn1.test.ASN1UnitTest
-
- All Implemented Interfaces:
Test
- Direct Known Subclasses:
AdditionalInformationSyntaxUnitTest
,AdmissionsUnitTest
,AdmissionSyntaxUnitTest
,CertHashUnitTest
,ContentHintsUnitTest
,DeclarationOfMajorityUnitTest
,ESSCertIDv2UnitTest
,LinkedCertificateTest
,MonetaryLimitUnitTest
,NameOrPseudonymUnitTest
,NamingAuthorityUnitTest
,OtherCertIDUnitTest
,OtherSigningCertificateUnitTest
,PersonalDataUnitTest
,ProcurationSyntaxUnitTest
,ProfessionInfoUnitTest
,RequestedCertificateUnitTest
,RestrictionUnitTest
public abstract class ASN1UnitTest extends SimpleTest
-
-
Constructor Summary
Constructors Constructor Description ASN1UnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkMandatoryField(java.lang.String name, byte[] expected, byte[] present)
protected void
checkMandatoryField(java.lang.String name, int expected, int present)
protected void
checkMandatoryField(java.lang.String name, java.lang.String expected, java.lang.String present)
protected void
checkMandatoryField(java.lang.String name, ASN1Encodable expected, ASN1Encodable present)
protected void
checkOptionalField(java.lang.String name, java.lang.String expected, java.lang.String present)
protected void
checkOptionalField(java.lang.String name, java.math.BigInteger expected, java.math.BigInteger present)
protected void
checkOptionalField(java.lang.String name, ASN1Encodable expected, ASN1Encodable present)
-
-
-
Method Detail
-
checkMandatoryField
protected void checkMandatoryField(java.lang.String name, ASN1Encodable expected, ASN1Encodable present)
-
checkMandatoryField
protected void checkMandatoryField(java.lang.String name, java.lang.String expected, java.lang.String present)
-
checkMandatoryField
protected void checkMandatoryField(java.lang.String name, byte[] expected, byte[] present)
-
checkMandatoryField
protected void checkMandatoryField(java.lang.String name, int expected, int present)
-
checkOptionalField
protected void checkOptionalField(java.lang.String name, ASN1Encodable expected, ASN1Encodable present)
-
checkOptionalField
protected void checkOptionalField(java.lang.String name, java.lang.String expected, java.lang.String present)
-
checkOptionalField
protected void checkOptionalField(java.lang.String name, java.math.BigInteger expected, java.math.BigInteger present)
-
-