Bouncy Castle Cryptography Library 1.85

Package org.bouncycastle.asn1.test

Class Summary
AllowNonDerTimeTest Exercises the org.bouncycastle.asn1.allow_non_der_time property (Properties.ASN1_ALLOW_NON_DER_TIME).
AllTests  
ASN1GeneratorTest Tests that the streaming generators (BERSequenceGenerator, BEROctetStringGenerator, DERSequenceGenerator) produce the same encodings as the equivalent in-memory objects, for untagged, explicitly tagged and implicitly tagged (X.690 8.14.2 / 8.14.3) forms, including tag numbers requiring the high-tag-number identifier format (X.690 8.1.2.4).
ASN1IntegerTest  
ASN1SequenceParserTest  
ASN1UnitTest  
AttributeCertificateInfoIssuerTest  
AuthorityKeyIdentifierTest  
BiometricDataUnitTest  
BitStringConstantTester  
BitStringTest  
CertIDTest  
CertificateTest  
DefiniteLengthAllocationTest Regression coverage for the definite-length materialization allocation guard in .
DERApplicationSpecificTest  
DERPrivateTest  
DERUTF8StringTest  
DLExternalTest Class checking the correct functionality of DLExternal
EmptyExtensionSequenceTest Several X.509 extension values are defined as SEQUENCE SIZE (1..MAX) by RFC 5280, so an empty SEQUENCE is malformed and must be rejected with a clean IllegalArgumentException on the parse path (matching the existing AuthorityInformationAccess / NameConstraints behaviour) rather than being accepted and yielding a degenerate, empty extension.
EncryptedPrivateKeyInfoTest Test the reading and writing of EncryptedPrivateKeyInfo objects using the test vectors provided at RSA's PKCS5 Page.
EnumeratedTest Tests used to verify correct decoding of the ENUMERATED type.
EqualsAndHashCodeTest  
GeneralizedTimeTest X.690 test example
GeneralNameTest  
GenerationTest  
IANAObjectIdentifierTest  
IETFUtilsTest  
InputStreamTest  
Iso4217CurrencyCodeUnitTest  
IssuingDistributionPointUnitTest  
KeyPurposeIdTest OID coverage for the recently-added Extended Key Usage KeyPurposeId constants (RFC 9336, RFC 9734 and RFC 9809), guarding their id-kp branch numbers against typos.
KeyUsageTest  
KMACParamsTest  
LinkedCertificateTest  
LocaleTest  
LongDefiniteLengthParserTest Tests for definite-length support in the streaming parser (ASN1StreamParser / DefiniteLengthInputStream) — content beyond the size of a Java array can be traversed and drained, while materialization stays bounded by what an array can hold (github #1482).
MiscTest  
MonetaryValueUnitTest  
NameConstraintsTest  
NameOrPseudonymUnitTest  
NetscapeCertTypeTest  
ObjectIdentifierTest  
OCSPTest  
OIDTest X.690 test example
ParseTest  
ParsingTest  
PersonalDataUnitTest  
PKCS10Test  
PKCS12Test  
PolicyConstraintsTest  
PrivateKeyInfoTest  
QCStatementUnitTest  
QcTypeUnitTest  
ReasonFlagsTest  
RegressionTest  
RelativeOIDTest  
RFC4519Test  
SemanticsInformationUnitTest  
SetTest Set sorting test example
StreamLimitTest  
StringTest X.690 test example
SubjectKeyIdentifierTest  
TagTest X.690 test example
TargetInformationTest  
TBSCertificateIssuerTest  
TBSCertListTest  
TypeOfBiometricDataUnitTest  
UTCTimeTest X.690 test example
X500NameTest  
X500NameTest.DNQStyle  
X509AltTest  
X509ExtensionsTest  
X509NameTest  
X9Test  
 


Bouncy Castle Cryptography Library 1.85