Modifier and Type | Class and Description |
---|---|
static class |
Dns.SigData.Algorithm
Algorithm types.
|
Constructor and Description |
---|
Dns.SigData(Dns.RecordType typeCovered,
Dns.SigData.Algorithm algorithm,
int labels,
long origTtl,
long expirationTs,
long signedTs,
int signingId,
String signersName,
byte[] signature)
Creates "Signature" resource data.
|
Modifier and Type | Method and Description |
---|---|
Dns.SigData.Algorithm |
algorithm()
Returns the algorithm type.
|
long |
expirationTs()
Returns the expiration timestamp.
|
int |
labels()
Returns the number of labels.
|
long |
origTtl()
Returns the original time-to-live value.
|
byte[] |
signature()
Returns a copy of the signature bytes.
|
long |
signedTs()
Returns the signed timestamp.
|
String |
signersName()
Returns the signer's name.
|
int |
signingId()
Returns the signing ID.
|
String |
toString() |
Dns.RecordType |
typeCovered()
Returns the type covered in this record.
|
public Dns.SigData(Dns.RecordType typeCovered, Dns.SigData.Algorithm algorithm, int labels, long origTtl, long expirationTs, long signedTs, int signingId, String signersName, byte[] signature)
typeCovered
- the type coveredalgorithm
- the algorithm typelabels
- the number of labelsorigTtl
- the original time-to-live valueexpirationTs
- the expiration timestampsignedTs
- the signed timestampsigningId
- the signing IDsignersName
- the signer's namesignature
- the signature bytespublic Dns.RecordType typeCovered()
public Dns.SigData.Algorithm algorithm()
public int labels()
public long origTtl()
public long expirationTs()
public long signedTs()
public int signingId()
public String signersName()
public byte[] signature()
Copyright © 2015. All Rights Reserved.