Java tutorial
//package com.java2s; import java.security.cert.CertPathValidatorException; import java.util.Set; public class Main { protected static void checkExcludedIP(Set excluded, byte[] ip) throws CertPathValidatorException { if (excluded.isEmpty()) { return; } // TODO, check RFC791 and RFC1883 for IP bytes definition. } }