Package org.jitsi.dnssec
Class SRRset
java.lang.Object
org.xbill.DNS.RRset
org.jitsi.dnssec.SRRset
- All Implemented Interfaces:
Serializable
public class SRRset
extends org.xbill.DNS.RRset
An extended version of
RRset
that adds the indication of DNSSEC
security status.- Version:
- $Revision: 286 $
- Author:
- davidb
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the current security status (generally:SecurityStatus.UNCHECKED
,SecurityStatus.BOGUS
, orSecurityStatus.SECURE
).org.xbill.DNS.Name
void
setSecurityStatus
(SecurityStatus status) Set the current security status for this SRRset.Methods inherited from class org.xbill.DNS.RRset
addRR, clear, deleteRR, first, getDClass, getName, getTTL, getType, rrs, rrs, sigs, size, toString
-
Constructor Details
-
SRRset
public SRRset()Create a new, blank SRRset. -
SRRset
public SRRset(org.xbill.DNS.RRset r) Create a new SRRset from an existing RRset. This SRRset will contain that same internal Record objects as the original RRset.- Parameters:
r
- The RRset to copy.
-
-
Method Details
-
getSecurityStatus
Return the current security status (generally:SecurityStatus.UNCHECKED
,SecurityStatus.BOGUS
, orSecurityStatus.SECURE
).- Returns:
- The security status for this set,
SecurityStatus.UNCHECKED
if it has never been set manually.
-
setSecurityStatus
Set the current security status for this SRRset.- Parameters:
status
- The new security status for this set.
-
getSignerName
public org.xbill.DNS.Name getSignerName()- Returns:
- The "signer" name for this SRRset, if signed, or null if not.
-