| 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 |
|---|---|
PublicKey |
HIPRecord.getPublicKey()
Gets the public key of this RR as a Java
PublicKey. |
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
PrivateKey privkey,
Date inception,
Date expiration)
Deprecated.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
PrivateKey privkey,
Date inception,
Date expiration,
String provider)
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
PrivateKey privkey,
Instant inception,
Instant expiration)
Generate a DNSSEC signature.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
PrivateKey privkey,
Instant inception,
Instant expiration,
String provider)
Generate a DNSSEC signature.
|
static void |
SIG0.signMessage(Message message,
KEYRecord key,
PrivateKey privkey,
SIGRecord previous)
Sign a message with SIG(0).
|
static void |
SIG0.signMessage(Message message,
KEYRecord key,
PrivateKey privkey,
SIGRecord previous,
Instant timeSigned)
Sign a message with SIG(0).
|
static void |
DNSSEC.verify(RRset rrset,
RRSIGRecord rrsig,
DNSKEYRecord key)
Verify a DNSSEC signature.
|
static void |
DNSSEC.verify(RRset rrset,
RRSIGRecord rrsig,
DNSKEYRecord key,
Date date)
Deprecated.
|
static void |
DNSSEC.verify(RRset rrset,
RRSIGRecord rrsig,
DNSKEYRecord key,
Instant date)
Verify a DNSSEC signature.
|
static void |
SIG0.verifyMessage(Message message,
byte[] b,
KEYRecord key,
SIGRecord previous)
Verify a message using SIG(0).
|
static void |
SIG0.verifyMessage(Message message,
byte[] b,
KEYRecord key,
SIGRecord previous,
Instant now)
Verify a message using SIG(0).
|
| Constructor and Description |
|---|
CDNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
PublicKey key)
Creates a CDNSKEY Record from the given data
|
DNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
PublicKey key)
Creates a DNSKEY Record from the given data
|
HIPRecord(Name name,
int dclass,
long ttl,
byte[] hit,
int alg,
PublicKey key) |
HIPRecord(Name name,
int dclass,
long ttl,
byte[] hit,
int alg,
PublicKey key,
List<Name> servers) |
KEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
PublicKey key)
Creates a KEY Record from the given data
|
Copyright © 2021 dnsjava.org. All rights reserved.