@RestrictTo(RestrictTo.Scope.LIBRARY)
    public void setSecurity(@SecurityState final int security) {
        this.security = security;
    }
Set security state of the node {@link SecurityState}
mesh/src/main/java/no/nordicsemi/android/mesh/transport/ProvisionedBaseMeshNode.java