|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xbill.DNS.security.DNSSECVerifier
public class DNSSECVerifier
A class that verifies DNS data using digital signatures contained in DNSSEC SIG records. DNSSECVerifier stores a set of trusted keys. Each specific verification references a cache where additional secure keys may be found.
Verifier
,
DNSSEC
Constructor Summary | |
---|---|
DNSSECVerifier()
Creates a new DNSSECVerifier |
Method Summary | |
---|---|
void |
addTrustedKey(DNSKEYRecord key)
Adds the specified key to the set of trusted keys |
void |
addTrustedKey(Name name,
int alg,
PublicKey key)
Adds the specified key to the set of trusted keys |
int |
verify(RRset set,
Cache cache)
Attempts to verify an RRset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DNSSECVerifier()
Method Detail |
---|
public void addTrustedKey(DNSKEYRecord key)
public void addTrustedKey(Name name, int alg, PublicKey key)
public int verify(RRset set, Cache cache)
verify
in interface Verifier
set
- The RRset to verifycache
- The Cache where obtained secure keys are found (may be null)
RRset
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |