public abstract class DelegatingDnssecRR extends Data
| Modifier and Type | Class and Description |
|---|---|
protected static class | DelegatingDnssecRR.SharedDataSharedData. |
| Modifier and Type | Field and Description |
|---|---|
DnssecConstants.SignatureAlgorithm | algorithmThe cryptographic algorithm used to create the signature. |
byte | algorithmByteThe byte value of the cryptographic algorithm used to create the signature. |
protected byte[] | digestThe digest build from a DNSKEY. |
DnssecConstants.DigestAlgorithm | digestTypeThe algorithm used to construct the digest. |
byte | digestTypeByteThe byte value of algorithm used to construct the digest. |
int | keyTagThe 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)DelegatingDnssecRR. |
protected | DelegatingDnssecRR(int keyTag,
DnssecConstants.SignatureAlgorithm algorithm,
byte digestType,
byte[] digest)DelegatingDnssecRR. |
protected | DelegatingDnssecRR(int keyTag,
DnssecConstants.SignatureAlgorithm algorithm,
byte algorithmByte,
DnssecConstants.DigestAlgorithm digestType,
byte digestTypeByte,
byte[] digest)DelegatingDnssecRR. |
protected | DelegatingDnssecRR(int keyTag,
DnssecConstants.SignatureAlgorithm algorithm,
DnssecConstants.DigestAlgorithm digestType,
byte[] digest)DelegatingDnssecRR. |
| Modifier and Type | Method and Description |
|---|---|
boolean | digestEquals(byte[] otherDigest)digestEquals. |
BigInteger | getDigestBigInteger()getDigestBigInteger. |
String | getDigestHex()getDigestHex. |
protected static DelegatingDnssecRR.SharedData | parseSharedData(DataInputStream dis,
int length)parseSharedData. |
void | serialize(DataOutputStream dos)serialize. |
String | toString()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
serialize in class Datados - the output stream to serialize to.IOException - if an I/O error occurs.