public void setMinSecurity(final boolean minSecurity) {
        this.minSecurity = minSecurity;
    }
Sets  the minimum security.

@param minSecurity true if minimum security or false if insecure.
mesh/src/main/java/no/nordicsemi/android/mesh/NetworkKey.java