public final class RecipientRepository
extends java.lang.Object
Constructor and Description |
---|
RecipientRepository(java.lang.String ldapPersonServiceUrl,
java.lang.String ldapCorpServiceUrl) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Certificate> |
find(java.lang.String query)
Tries to find certificates first from ESTEID SK LDAP server.
|
public RecipientRepository(java.lang.String ldapPersonServiceUrl, java.lang.String ldapCorpServiceUrl)
@WorkerThread public final com.google.common.collect.ImmutableList<Certificate> find(java.lang.String query) throws CryptoException
If query is numeric then searches by personal code, otherwise by CN fields.
query
- Query to executeSearch for.CryptoException
- When something went wrong