private static String getMGFAlgorithmCanonicalName(String name) {
        if ("MGF1".equalsIgnoreCase(name)) {
            return name.toUpperCase(Locale.US);
        } else if ("1.2.840.113549.1.1.8".equals(name)) {
            return "MGF1";
        } else {
            return name;
        }
    }
Payload of SEQUENCE extends beyond the SEQUENCE.
common/src/test/java/org/conscrypt/java/security/AlgorithmParametersPSSTest.java