| Class | Description |
|---|---|
| AttributeTableUnitTest | |
| CCMParametersTest | |
| CMSSequenceFieldOrderTest |
The CMS SEQUENCE types take their optional tagged fields at most once, in definition order and
with the right tag number, and nothing after their last field (github #2516).
|
| CMSTest | |
| ContentTypeSequenceSizeTest |
Confirms the CMS content-type decoders SignedData, EnvelopedData, AuthenticatedData,
AuthEnvelopedData and EncryptedData reject a too-short SEQUENCE with IllegalArgumentException
rather than reading their mandatory fields past the end and leaking a NoSuchElementException /
ArrayIndexOutOfBoundsException - the sibling content types CompressedData and DigestedData
already guard their size the same way.
|
| GCMParametersTest | |
| KEMRecipientInfoTest | |
| OctetStringTest | |
| ParseTest | |
| SignerInfoTest |
Confirms org.bouncycastle.asn1.cms.SignerInfo decodes its version and trailing unsignedAttrs
elements through getInstance rather than a direct cast, so a malformed-but-parseable SignerInfo
fails with IllegalArgumentException (the getInstance contract) rather than leaking a
ClassCastException.
|