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) |
BigInteger |
getDigestBigInteger() |
String |
getDigestHex() |
protected static DelegatingDnssecRR.SharedData |
parseSharedData(DataInputStream dis,
int length) |
void |
serialize(DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
String |
toString() |
equals, getType, hashCode, length, toByteArray, toOutputStream, toOutputStreampublic final DnssecConstants.SignatureAlgorithm algorithm
null.algorithmBytepublic final byte algorithmByte
protected final byte[] digest
public final DnssecConstants.DigestAlgorithm digestType
null.digestTypeBytepublic final byte digestTypeByte
public final int keyTag
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)
public boolean digestEquals(byte[] otherDigest)
public BigInteger getDigestBigInteger()
public String getDigestHex()
protected static DelegatingDnssecRR.SharedData parseSharedData(DataInputStream dis, int length) throws IOException
IOExceptionpublic void serialize(DataOutputStream dos) throws IOException
Dataserialize in class Datados - the output stream to serialize to.IOException - if an I/O error occurs.