@Test public void testNsec3hash() throws Exception { JavaSecDigestCalculator digestCalculator = new JavaSecDigestCalculator("SHA-1"); assertEquals("6e8777855bcd60d7b45fc51893776dde75bf6cd4", new BigInteger(1, Verifier.nsec3hash(digestCalculator, new byte[] {42}, new byte[] {88}, 5)).toString(16)); }
static byte[] nsec3hash(DigestCalculator digestCalculator, NSEC3 nsec3, DnsName ownerName, int iterations) { return nsec3hash(digestCalculator, nsec3.getSalt(), ownerName.getBytes(), iterations); }
Verifier { static byte[] nsec3hash(DigestCalculator digestCalculator, NSEC3 nsec3, DnsName ownerName, int iterations) { return nsec3hash(digestCalculator, nsec3.getSalt(), ownerName.getBytes(), iterations); } }
Verifier { static byte[] nsec3hash(DigestCalculator digestCalculator, NSEC3 nsec3, DnsName ownerName, int iterations) { return nsec3hash(digestCalculator, nsec3.getSalt(), ownerName.getBytes(), iterations); }  }
Verifier { static byte[] nsec3hash(DigestCalculator digestCalculator, NSEC3 nsec3, DnsName ownerName, int iterations) { return nsec3hash(digestCalculator, nsec3.getSalt(), ownerName.getBytes(), iterations); }  static DnssecUnverifiedReason verify(Record<DNSKEY> dnskeyRecord, DelegatingDnssecRR ds); static DnssecUnverifiedReason verify(List<Record<? extends Data>> records, RRSIG rrsig, DNSKEY key); static DnssecUnverifiedReason verifyNsec(Record<NSEC> nsecRecord, Question q); static DnssecUnverifiedReason verifyNsec3(DnsName zone, Record<NSEC3> nsec3record, Question q); }
Verifier { static byte[] nsec3hash(DigestCalculator digestCalculator, NSEC3 nsec3, DnsName ownerName, int iterations) { return nsec3hash(digestCalculator, nsec3.getSalt(), ownerName.getBytes(), iterations); }  static DnssecUnverifiedReason verify(Record<DNSKEY> dnskeyRecord, DelegatingDnssecRR ds); static DnssecUnverifiedReason verify(List<Record<? extends Data>> records, RRSIG rrsig, DNSKEY key); static DnssecUnverifiedReason verifyNsec(Record<NSEC> nsecRecord, Question q); static DnssecUnverifiedReason verifyNsec3(DnsName zone, Record<NSEC3> nsec3record, Question q);  }