Package org.jitsi.dnssec
Class SRRset
- java.lang.Object
-
- org.xbill.DNS.RRset
-
- org.jitsi.dnssec.SRRset
-
- All Implemented Interfaces:
java.io.Serializable
public class SRRset extends org.xbill.DNS.RRset
An extended version ofRRset
that adds the indication of DNSSEC security status.- Version:
- $Revision: 286 $
- Author:
- davidb
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityStatus
getSecurityStatus()
Return the current security status (generally:SecurityStatus.UNCHECKED
,SecurityStatus.BOGUS
, orSecurityStatus.SECURE
).org.xbill.DNS.Name
getSignerName()
void
setSecurityStatus(SecurityStatus status)
Set the current security status for this SRRset.
-
-
-
Method Detail
-
getSecurityStatus
public SecurityStatus 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
public void setSecurityStatus(SecurityStatus status)
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.
-
-