public abstract class SIGBase extends Record
| Modifier and Type | Field and Description |
|---|---|
protected int |
alg |
protected int |
covered |
protected Date |
expire |
protected int |
footprint |
protected int |
labels |
protected long |
origttl |
protected byte[] |
signature |
protected Name |
signer |
protected Date |
timeSigned |
| Modifier | Constructor and Description |
|---|---|
protected |
SIGBase() |
|
SIGBase(Name name,
int type,
int dclass,
long ttl,
int covered,
int alg,
long origttl,
Date expire,
Date timeSigned,
int footprint,
Name signer,
byte[] signature) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAlgorithm()
Returns the cryptographic algorithm of the key that generated the signature
|
Date |
getExpire()
Returns the time at which the signature expires
|
int |
getFootprint()
Returns The footprint/key id of the signing key.
|
int |
getLabels()
Returns the number of labels in the signed domain name.
|
long |
getOrigTTL()
Returns the original TTL of the RRset
|
byte[] |
getSignature()
Returns the binary data representing the signature
|
Name |
getSigner()
Returns the owner of the signing key
|
Date |
getTimeSigned()
Returns the time at which this signature was generated
|
int |
getTypeCovered()
Returns the RRset type covered by this signature
|
void |
setSignature(byte[] signature) |
byteArrayFromString, byteArrayToString, checkByteArrayLength, checkU16, checkU32, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withNameprotected int covered
protected int alg
protected int labels
protected long origttl
protected Date expire
protected Date timeSigned
protected int footprint
protected Name signer
protected byte[] signature
public int getTypeCovered()
public int getAlgorithm()
public int getLabels()
public long getOrigTTL()
public Date getExpire()
public Date getTimeSigned()
public int getFootprint()
public Name getSigner()
public byte[] getSignature()
public void setSignature(byte[] signature)
Copyright © 2021 McEvoy Software Ltd. All rights reserved.