public class DNSPublicKeyRecordRetriever extends Object implements PublicKeyRecordRetriever
Modifier and Type | Field and Description |
---|---|
protected org.xbill.DNS.Resolver |
resolver |
Constructor and Description |
---|
DNSPublicKeyRecordRetriever() |
DNSPublicKeyRecordRetriever(org.xbill.DNS.Resolver resolver) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
convertRecordsToList(org.xbill.DNS.Record[] rr)
Convert the given TXT Record array to a String List
|
List<String> |
getRecords(CharSequence methodAndOptions,
CharSequence selector,
CharSequence token) |
public DNSPublicKeyRecordRetriever()
public DNSPublicKeyRecordRetriever(org.xbill.DNS.Resolver resolver)
public List<String> getRecords(CharSequence methodAndOptions, CharSequence selector, CharSequence token) throws TempFailException, PermFailException
getRecords
in interface PublicKeyRecordRetriever
methodAndOptions
- the options declared for the lookup method.selector
- the value of "s=" tagtoken
- the value of the "d=" tagTempFailException
- in case of timeout and other network errors.PermFailException
- in case of unsupported optionsPublicKeyRecordRetriever.getRecords(java.lang.CharSequence, java.lang.CharSequence, java.lang.CharSequence)
Copyright © 2008–2015. All rights reserved.