| Package | Description |
|---|---|
| io.milton.dns.record |
| 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.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 byte[] |
DNSSEC.fromPublicKey(PublicKey key,
int alg)
Builds a DNSKEY record from a PublicKey
|
static byte[] |
DNSSEC.fromPublicKey(PublicKey key,
int alg)
Builds a DNSKEY record from a PublicKey
|
PublicKey |
KEYBase.getPublicKey()
Returns a PublicKey corresponding to the data in this key.
|
PublicKey |
KEYBase.getPublicKey()
Returns a PublicKey corresponding to the data in this key.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
PrivateKey privkey,
Date inception,
Date expiration)
Generate a DNSSEC signature.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
PrivateKey privkey,
Date inception,
Date expiration)
Generate a DNSSEC signature.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
PrivateKey privkey,
Date inception,
Date expiration,
String provider)
Generate a DNSSEC signature.
|
static RRSIGRecord |
DNSSEC.sign(RRset rrset,
DNSKEYRecord key,
PrivateKey privkey,
Date inception,
Date 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)
Sign a message with SIG(0).
|
static SIGRecord |
DNSSEC.signMessage(Message message,
SIGRecord previous,
KEYRecord key,
PrivateKey privkey,
Date inception,
Date expiration) |
static SIGRecord |
DNSSEC.signMessage(Message message,
SIGRecord previous,
KEYRecord key,
PrivateKey privkey,
Date inception,
Date expiration) |
static PublicKey |
DNSSEC.toPublicKey(KEYBase r)
Converts a KEY/DNSKEY record into a PublicKey
|
static PublicKey |
DNSSEC.toPublicKey(KEYBase r)
Converts a KEY/DNSKEY record into a PublicKey
|
static void |
DNSSEC.verify(RRset rrset,
RRSIGRecord rrsig,
DNSKEYRecord key)
Verify a DNSSEC signature.
|
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).
|
static void |
SIG0.verifyMessage(Message message,
byte[] b,
KEYRecord key,
SIGRecord previous)
Verify a message using SIG(0).
|
static void |
DNSSEC.verifyMessage(Message message,
byte[] bytes,
SIGRecord sig,
SIGRecord previous,
KEYRecord key) |
static void |
DNSSEC.verifyMessage(Message message,
byte[] bytes,
SIGRecord sig,
SIGRecord previous,
KEYRecord key) |
| Constructor and Description |
|---|
DNSKEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
PublicKey key)
Creates a DNSKEY 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
|
KEYRecord(Name name,
int dclass,
long ttl,
int flags,
int proto,
int alg,
PublicKey key)
Creates a KEY Record from the given data
|
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 McEvoy Software Ltd. All rights reserved.