@Test
    public void testInitWithPSSParameterSpec() throws Exception {
        AlgorithmParameters params = AlgorithmParameters.getInstance("PSS");
        params.init(WEIRD_SPEC);
        assertPSSParameterSpecEquals(WEIRD_SPEC, params.getParameterSpec(PSSParameterSpec.class));
    }
Payload of SEQUENCE extends beyond the SEQUENCE.
common/src/test/java/org/conscrypt/java/security/AlgorithmParametersPSSTest.java