public abstract class DelegatingDnssecRR extends Data
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DelegatingDnssecRR.SharedData |
| Modifier and Type | Field and Description |
|---|---|
DnssecConstants.SignatureAlgorithm |
algorithm
The cryptographic algorithm used to create the signature.
|
byte |
algorithmByte
The byte value of the cryptographic algorithm used to create the signature.
|
protected byte[] |
digest
The digest build from a DNSKEY.
|
DnssecConstants.DigestAlgorithm |
digestType
The algorithm used to construct the digest.
|
byte |
digestTypeByte
The byte value of algorithm used to construct the digest.
|
int |
keyTag
The key tag value of the DNSKEY RR that validates this signature.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DelegatingDnssecRR(int keyTag,
byte algorithm,
byte digestType,
byte[] digest) |
protected |
DelegatingDnssecRR(int keyTag,
DnssecConstants.SignatureAlgorithm algorithm,
byte digestType,
byte[] digest) |
protected |
DelegatingDnssecRR(int keyTag,
DnssecConstants.SignatureAlgorithm algorithm,
byte algorithmByte,
DnssecConstants.DigestAlgorithm digestType,
byte digestTypeByte,
byte[] digest) |
protected |
DelegatingDnssecRR(int keyTag,
DnssecConstants.SignatureAlgorithm algorithm,
DnssecConstants.DigestAlgorithm digestType,
byte[] digest) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
digestEquals(byte[] otherDigest) |
java.math.BigInteger |
getDigestBigInteger() |
java.lang.String |
getDigestHex() |
protected static DelegatingDnssecRR.SharedData |
parseSharedData(java.io.DataInputStream dis,
int length) |
void |
serialize(java.io.DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
java.lang.String |
toString() |
equals, getType, hashCode, length, toByteArray, toOutputStreampublic final int keyTag
public final DnssecConstants.SignatureAlgorithm algorithm
null.algorithmBytepublic final byte algorithmByte
public final DnssecConstants.DigestAlgorithm digestType
null.digestTypeBytepublic final byte digestTypeByte
protected final byte[] digest
protected DelegatingDnssecRR(int keyTag,
DnssecConstants.SignatureAlgorithm algorithm,
byte algorithmByte,
DnssecConstants.DigestAlgorithm digestType,
byte digestTypeByte,
byte[] digest)
protected DelegatingDnssecRR(int keyTag,
byte algorithm,
byte digestType,
byte[] digest)
protected DelegatingDnssecRR(int keyTag,
DnssecConstants.SignatureAlgorithm algorithm,
DnssecConstants.DigestAlgorithm digestType,
byte[] digest)
protected DelegatingDnssecRR(int keyTag,
DnssecConstants.SignatureAlgorithm algorithm,
byte digestType,
byte[] digest)
protected static DelegatingDnssecRR.SharedData parseSharedData(java.io.DataInputStream dis, int length) throws java.io.IOException
java.io.IOExceptionpublic void serialize(java.io.DataOutputStream dos)
throws java.io.IOException
Datapublic java.lang.String toString()
toString in class java.lang.Objectpublic java.math.BigInteger getDigestBigInteger()
public java.lang.String getDigestHex()
public boolean digestEquals(byte[] otherDigest)