public class StoredPublicKeyRecordRetriever extends Object implements PublicKeyRecordRetriever
Constructor and Description |
---|
StoredPublicKeyRecordRetriever() |
Modifier and Type | Method and Description |
---|---|
static void |
addKey(String domain,
String selector,
String key) |
static void |
clearKeys() |
List<String> |
getRecords(CharSequence methodAndOptions,
CharSequence selector,
CharSequence token) |
public static void clearKeys()
public static void addKey(String domain, String selector, String key)
domain
- per specselector
- per speckey
- per specpublic 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.