public static KEM forId(int id) {
            for (KEM kem : values()) {
                if (kem.getId() == id) {
                    return kem;
                }
            }
            throw new IllegalArgumentException("Unknown KEM " + id);
        }
Returns the KEM value for a given id.
common/src/main/java/org/conscrypt/HpkeSuite.java