01: // Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)
02:
03: package org.xbill.DNS;
04:
05: /**
06: * An interface to a DNSSEC Verifier. This is used to verify the validity
07: * of data received by dnsjava. The specific implementation of the verifier
08: * is expected to store trusted keys in some way. The Verifier will use
09: * these trusted keys as well as secure cached keys to verify data.
10: * @see org.xbill.DNS.security.DNSSECVerifier
11: *
12: * @author Brian Wellington
13: */
14:
15: public interface Verifier {
16:
17: /**
18: * Verifies this RRset, using secure keys found in this Cache if necessary.
19: * @see RRset
20: * @see Cache
21: */
22: int verify(RRset set, Cache cache);
23:
24: }
|