public class BdxlLocator extends AbstractLocator
| Constructor and Description |
|---|
BdxlLocator(Mode mode) |
BdxlLocator(String hostname)
Initiate a new instance of BDXL lookup functionality using SHA-224 for hashing.
|
BdxlLocator(String hostname,
String digestAlgorithm)
Initiate a new instance of BDXL lookup functionality.
|
BdxlLocator(String prefix,
String hostname,
String digestAlgorithm)
Initiate a new instance of BDXL lookup functionality.
|
BdxlLocator(String prefix,
String hostname,
String digestAlgorithm,
com.google.common.io.BaseEncoding encoding)
Initiate a new instance of BDXL lookup functionality.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
handleRegex(String naptrRegex,
String hostname) |
URI |
lookup(ParticipantIdentifier participantIdentifier) |
lookuppublic BdxlLocator(Mode mode)
public BdxlLocator(String hostname)
hostname - Hostname used as base for lookup.public BdxlLocator(String hostname, String digestAlgorithm)
hostname - Hostname used as base for lookup.digestAlgorithm - Algorithm used for generation of hostname.public BdxlLocator(String prefix, String hostname, String digestAlgorithm)
prefix - Value attached in front of calculated hash.hostname - Hostname used as base for lookup.digestAlgorithm - Algorithm used for generation of hostname.public BdxlLocator(String prefix, String hostname, String digestAlgorithm, com.google.common.io.BaseEncoding encoding)
prefix - Value attached in front of calculated hash.hostname - Hostname used as base for lookup.digestAlgorithm - Algorithm used for generation of hostname.encoding - Encoding of hash for hostname.public URI lookup(ParticipantIdentifier participantIdentifier) throws LookupException
LookupExceptionCopyright © 2021 NorStella. All rights reserved.