@Override
    public void setOldKey(final byte[] oldKey) {
        super.setOldKey(oldKey);
        if (oldKey != null)
            oldAid = SecureUtils.calculateK4(oldKey);
    }
Set the net key index to which the app key is associated with

@param boundNetKeyIndex network key index
mesh/src/main/java/no/nordicsemi/android/mesh/ApplicationKey.java