Package org.apache.james.jdkim.api
Interface PublicKeyRecordRetriever
-
- All Known Implementing Classes:
DNSPublicKeyRecordRetriever,HttpPublicKeyRecordRetriever,MultiplexingPublicKeyRecordRetriever,StoredPublicKeyRecordRetriever
public interface PublicKeyRecordRetriever
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getRecords(CharSequence methodAndOption, CharSequence selector, CharSequence token)
-
-
-
Method Detail
-
getRecords
List<String> getRecords(CharSequence methodAndOption, CharSequence selector, CharSequence token) throws TempFailException, PermFailException
- Parameters:
methodAndOption- the options declared for the lookup method.selector- the value of "s=" tagtoken- the value of the "d=" tag- Returns:
- A list of strings representing 0 to multiple records
- Throws:
TempFailException- in case of timeout and other network errors.PermFailException- in case of unsupported options
-
-