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