public class KeyCache extends Object
Modifier and Type | Field | Description |
---|---|---|
static String |
MAX_CACHE_SIZE_CONFIG |
Name of the property that configures the maximum cache size.
|
static String |
MAX_TTL_CONFIG |
Name of the property that configures the maximum cache TTL.
|
Constructor | Description |
---|---|
KeyCache() |
Creates a new instance of this class.
|
Modifier and Type | Method | Description |
---|---|---|
KeyEntry |
find(org.xbill.DNS.Name n,
int dclass) |
Find the 'closest' trusted DNSKEY rrset to the given name.
|
void |
init(Properties config) |
Initialize the cache.
|
KeyEntry |
store(KeyEntry ke) |
Store a
KeyEntry in the cache. |
public static final String MAX_TTL_CONFIG
public static final String MAX_CACHE_SIZE_CONFIG
public void init(Properties config)
config
- The configuration information.public KeyEntry find(org.xbill.DNS.Name n, int dclass)
n
- The name to start the search.dclass
- The class this DNSKEY rrset should be in.Copyright © 2018 jitsi.org. All rights reserved.