protected boolean valid(@NonNull final byte[] key) {
        if (key.length != 16)
            throw new IllegalArgumentException("Key must be of length 16!");
        return true;
    }
Set the old key

@param oldKey old app key
mesh/src/main/java/no/nordicsemi/android/mesh/MeshKey.java