Package | Description |
---|---|
org.xbill.DNS | |
org.xbill.DNS.dnssec |
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<RRSIGRecord> |
RRset.sigs |
Modifier and Type | Method and Description |
---|---|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
java.security.PrivateKey privkey,
java.util.Date inception,
java.util.Date expiration)
Deprecated.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
java.security.PrivateKey privkey,
java.util.Date inception,
java.util.Date expiration,
java.lang.String provider)
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
java.security.PrivateKey privkey,
java.time.Instant inception,
java.time.Instant expiration)
Generate a DNSSEC signature.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
java.security.PrivateKey privkey,
java.time.Instant inception,
java.time.Instant expiration,
java.lang.String provider)
Generate a DNSSEC signature.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<RRSIGRecord> |
RRset.sigs()
Returns a list of all signature records.
|
Modifier and Type | Method and Description |
---|---|
void |
RRset.addRR(RRSIGRecord r)
Adds a signature to this RRset.
|
void |
RRset.deleteRR(RRSIGRecord r)
Deletes a signature from this RRset
|
static byte[] |
DNSSEC.digestRRset(RRSIGRecord rrsig,
RRset rrset)
Creates a byte array containing the concatenation of the fields of the SIG record and the
RRsets to be signed/verified.
|
static void |
DNSSEC.verify(RRset rrset,
RRSIGRecord rrsig,
DNSKEYRecord key)
Verify a DNSSEC signature.
|
static void |
DNSSEC.verify(RRset rrset,
RRSIGRecord rrsig,
DNSKEYRecord key,
java.util.Date date)
Deprecated.
|
static void |
DNSSEC.verify(RRset rrset,
RRSIGRecord rrsig,
DNSKEYRecord key,
java.time.Instant date)
Verify a DNSSEC signature.
|
Modifier and Type | Method and Description |
---|---|
private java.util.List<DNSKEYRecord> |
DnsSecVerifier.findKey(RRset dnskeyRrset,
RRSIGRecord signature)
Find the matching DNSKEY(s) to an RRSIG within a DNSKEY rrset.
|
static void |
ValUtils.setCanonicalNsecOwner(SRRset set,
RRSIGRecord sig)
Set the owner name of NSEC RRsets to the canonical name, i.e.
|
private JustifiedSecStatus |
DnsSecVerifier.verifySignature(SRRset rrset,
RRSIGRecord sigrec,
RRset keyRrset,
java.time.Instant date)
Verify an RRset against a particular signature.
|