Package org.bouncycastle.bcpg.test
package org.bouncycastle.bcpg.test
-
ClassesClassDescriptionRegression test for ASCII-armor header injection via a bare carriage return.Regression test for the unbounded user-attribute subpacket allocation: a crafted 4-octet length header must be rejected against the absolute MAX_SUBPACKET_LEN cap before any body buffer is allocated, rather than relying on the StreamUtil.findLimit() hint (which is ~heap-sized for the non-seekable streams used during packet parsing).