Modifier and Type | Field and Description |
---|---|
private Name |
ownerName |
private SecurityStatus |
securityStatus |
Constructor and Description |
---|
SRRset()
Create a new, blank SRRset.
|
SRRset(Record r)
Create a new SRRset with one record.
|
SRRset(RRset r)
Create a new SRRset from an existing RRset.
|
SRRset(SRRset r)
Create a new SRRset from an existing SRRset.
|
Modifier and Type | Method and Description |
---|---|
Name |
getName()
Returns the name of the records
|
SecurityStatus |
getSecurityStatus()
Return the current security status (generally:
SecurityStatus.UNCHECKED , SecurityStatus.BOGUS , or SecurityStatus.SECURE ). |
Name |
getSignerName() |
void |
setName(Name ownerName)
Set the name of the records.
|
void |
setSecurityStatus(SecurityStatus status)
Set the current security status for this SRRset.
|
private SecurityStatus securityStatus
private Name ownerName
public SRRset()
public SRRset(Record r)
r
- The record to add to the RRset.public SRRset(RRset r)
Record
objects as the original RRset.r
- The RRset to copy.public SecurityStatus getSecurityStatus()
SecurityStatus.UNCHECKED
, SecurityStatus.BOGUS
, or SecurityStatus.SECURE
).SecurityStatus.UNCHECKED
if it has never been
set manually.public void setSecurityStatus(SecurityStatus status)
status
- The new security status for this set.public Name getSignerName()