| Package | Description |
|---|---|
| org.xbill.DNS |
| Modifier and Type | Class and Description |
|---|---|
static class |
DNSSEC.KeyMismatchException
A DNSSEC verification failed because fields in the DNSKEY and RRSIG records
do not match.
|
static class |
DNSSEC.MalformedKeyException
The cryptographic data in a DNSSEC key is malformed.
|
static class |
DNSSEC.NoSignatureException
No signature was found.
|
static class |
DNSSEC.SignatureExpiredException
A DNSSEC verification failed because the signature has expired.
|
static class |
DNSSEC.SignatureNotYetValidException
A DNSSEC verification failed because the signature has not yet become valid.
|
static class |
DNSSEC.SignatureVerificationException
A DNSSEC verification failed because the cryptographic signature
verification failed.
|
static class |
DNSSEC.UnsupportedAlgorithmException
An algorithm is unsupported by this DNSSEC implementation.
|
| 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)
Generate a DNSSEC signature.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
java.security.PrivateKey privkey,
java.util.Date inception,
java.util.Date expiration,
java.lang.String provider)
Generate a DNSSEC signature.
|
static void |
SIG0.signMessage(Message message,
KEYRecord key,
java.security.PrivateKey privkey,
SIGRecord previous)
Sign a message with SIG(0).
|
static void |
DNSSEC.verify(RRset rrset,
RRSIGRecord rrsig,
DNSKEYRecord key)
Verify a DNSSEC signature.
|
static void |
SIG0.verifyMessage(Message message,
byte[] b,
KEYRecord key,
SIGRecord previous)
Verify a message using SIG(0).
|
| Constructor and Description |
|---|
DNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
java.security.PublicKey key)
Creates a DNSKEY Record from the given data
|
KEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
java.security.PublicKey key)
Creates a KEY Record from the given data
|
Copyright © 2015. All Rights Reserved.