public class DNSSEC
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DNSSEC.Algorithm |
Modifier and Type | Field and Description |
---|---|
static int |
DH |
static int |
DSA |
static int |
Failed |
static int |
Insecure |
static int |
RSA |
static int |
RSAMD5 |
static int |
RSASHA1 |
static int |
Secure |
Modifier and Type | Method and Description |
---|---|
static byte[] |
digestMessage(SIGRecord sig,
Message msg,
byte[] previous)
Creates a byte array containing the concatenation of the fields of the
SIG record and the message to be signed/verified.
|
static byte[] |
digestRRset(RRSIGRecord sig,
RRset rrset)
Creates a byte array containing the concatenation of the fields of the
SIG record and the RRsets to be signed/verified.
|
public static final int RSAMD5
public static final int RSA
public static final int DH
public static final int DSA
public static final int RSASHA1
public static final int Failed
public static final int Insecure
public static final int Secure
public static byte[] digestRRset(RRSIGRecord sig, RRset rrset)
sig
- The SIG record used to sign/verify the rrset.rrset
- The data to be signed/verified.public static byte[] digestMessage(SIGRecord sig, Message msg, byte[] previous)
sig
- The SIG record used to sign/verify the rrset.msg
- The message to be signed/verified.previous
- If this is a response, the signature from the query.