Modifier and Type | Field and Description |
---|---|
DnssecConstants.SignatureAlgorithm |
algorithm
The cryptographic algorithm used to create the signature.
|
byte |
algorithmByte
The cryptographic algorithm used to create the signature.
|
int |
keyTag
The key tag value of the DNSKEY RR that validates this signature.
|
byte |
labels
The number of labels in the original RRSIG RR owner name.
|
long |
originalTtl
The TTL of the covered RRset.
|
byte[] |
signature
Signature that covers RRSIG RDATA (excluding the signature field) and RRset data.
|
Date |
signatureExpiration
The date and time this RRSIG records expires.
|
Date |
signatureInception
The date and time this RRSIG records starts to be valid.
|
DnsName |
signerName
The owner name of the DNSKEY RR that a validator is supposed to use.
|
Record.TYPE |
typeCovered
The type of RRset covered by this signature.
|
Constructor and Description |
---|
RRSIG(Record.TYPE typeCovered,
DnssecConstants.SignatureAlgorithm algorithm,
byte labels,
long originalTtl,
Date signatureExpiration,
Date signatureInception,
int keyTag,
DnsName signerName,
byte[] signature) |
RRSIG(Record.TYPE typeCovered,
DnssecConstants.SignatureAlgorithm algorithm,
byte labels,
long originalTtl,
Date signatureExpiration,
Date signatureInception,
int keyTag,
String signerName,
byte[] signature) |
RRSIG(Record.TYPE typeCovered,
int algorithm,
byte labels,
long originalTtl,
Date signatureExpiration,
Date signatureInception,
int keyTag,
DnsName signerName,
byte[] signature) |
RRSIG(Record.TYPE typeCovered,
int algorithm,
byte labels,
long originalTtl,
Date signatureExpiration,
Date signatureInception,
int keyTag,
String signerName,
byte[] signature) |
Modifier and Type | Method and Description |
---|---|
Record.TYPE |
getType()
The payload type.
|
static RRSIG |
parse(DataInputStream dis,
byte[] data,
int length) |
void |
serialize(DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
String |
toString() |
void |
writePartialSignature(DataOutputStream dos) |
equals, hashCode, length, toByteArray, toOutputStream
public final Record.TYPE typeCovered
public final DnssecConstants.SignatureAlgorithm algorithm
public final byte algorithmByte
public final byte labels
public final long originalTtl
public final Date signatureExpiration
public final Date signatureInception
public final int keyTag
public final DnsName signerName
public final byte[] signature
public RRSIG(Record.TYPE typeCovered, int algorithm, byte labels, long originalTtl, Date signatureExpiration, Date signatureInception, int keyTag, DnsName signerName, byte[] signature)
public RRSIG(Record.TYPE typeCovered, int algorithm, byte labels, long originalTtl, Date signatureExpiration, Date signatureInception, int keyTag, String signerName, byte[] signature)
public RRSIG(Record.TYPE typeCovered, DnssecConstants.SignatureAlgorithm algorithm, byte labels, long originalTtl, Date signatureExpiration, Date signatureInception, int keyTag, DnsName signerName, byte[] signature)
public RRSIG(Record.TYPE typeCovered, DnssecConstants.SignatureAlgorithm algorithm, byte labels, long originalTtl, Date signatureExpiration, Date signatureInception, int keyTag, String signerName, byte[] signature)
public static RRSIG parse(DataInputStream dis, byte[] data, int length) throws IOException
IOException
public Record.TYPE getType()
Data
public void serialize(DataOutputStream dos) throws IOException
Data
serialize
in class Data
dos
- the output stream to serialize to.IOException
- if an I/O error occurs.public void writePartialSignature(DataOutputStream dos) throws IOException
IOException