public class RC
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RC.Triple |
Modifier and Type | Field and Description |
---|---|
protected static boolean |
allowSelfSigned |
static java.lang.String |
ALLOWSELFSIGNEDKEY |
static org.slf4j.Logger |
log |
protected static boolean |
useGroups |
static java.lang.String |
USEGROUPSKEY |
protected static boolean |
verifyServer |
static java.lang.String |
VERIFYSERVERKEY |
Constructor and Description |
---|
RC() |
Modifier and Type | Method and Description |
---|---|
static void |
add(java.lang.String key,
java.lang.String value,
java.lang.String url)
Allow users to add to the default rc
|
static java.lang.String |
find(java.lang.String key,
java.lang.String url)
Allow users to search the default rc
|
static boolean |
getAllowSelfSigned() |
java.util.List<RC.Triple> |
getTriples(java.lang.String key) |
static boolean |
getUseGroups() |
static boolean |
getVerifyServer() |
static void |
initialize() |
RC.Triple |
insert(RC.Triple t) |
java.util.Set<java.lang.String> |
keySet() |
boolean |
load(java.lang.String abspath) |
RC.Triple |
lookup(java.lang.String key) |
RC.Triple |
lookup(java.lang.String key,
java.lang.String url) |
RC.Triple |
lookup(java.lang.String key,
java.net.URL url) |
static void |
set(java.lang.String key,
java.lang.String value) |
java.lang.String |
toString() |
public static org.slf4j.Logger log
public static final java.lang.String USEGROUPSKEY
public static final java.lang.String VERIFYSERVERKEY
public static final java.lang.String ALLOWSELFSIGNEDKEY
protected static boolean useGroups
protected static boolean verifyServer
protected static boolean allowSelfSigned
public static boolean getUseGroups()
public static boolean getVerifyServer()
public static boolean getAllowSelfSigned()
public static void set(java.lang.String key, java.lang.String value)
public static void initialize()
public static void add(java.lang.String key, java.lang.String value, java.lang.String url)
key
- value
- url
- null => not url specificpublic static java.lang.String find(java.lang.String key, java.lang.String url)
key
- url
- null => not url specificpublic boolean load(java.lang.String abspath)
public java.util.Set<java.lang.String> keySet()
public java.util.List<RC.Triple> getTriples(java.lang.String key)
public RC.Triple lookup(java.lang.String key)
public RC.Triple lookup(java.lang.String key, java.lang.String url)
public RC.Triple lookup(java.lang.String key, java.net.URL url)
public java.lang.String toString()
toString
in class java.lang.Object