@Test
    public void testGetEncoded() throws Exception {
        assertGetEncoded(WEIRD_SPEC, WEIRD_SPEC_DER_ENCODED);
        assertGetEncoded(DEFAULT_SPEC, DEFAULT_SPEC_DER_ENCODED);
    }
Payload of SEQUENCE extends beyond the SEQUENCE.
common/src/test/java/org/conscrypt/java/security/AlgorithmParametersPSSTest.java