public class ConfiguredDosetaKeyRepository extends Object implements KeyRepository
| Modifier and Type | Field and Description |
|---|---|
protected DosetaKeyRepository |
keyRepository |
static String |
RESTEASY_DOSETA_CACHE_TIMEOUT
Public keys are cached.
|
static String |
RESTEASY_DOSETA_DEFAULT_PRIVATE_DOMAIN
Context parameter.
|
static String |
RESTEASY_DOSETA_DNS_URI
Context parameter.
|
static String |
RESTEASY_DOSETA_PRINCIPAL_FOR_PRIVATE
true|false.
|
static String |
RESTEASY_DOSETA_USE_DNS
Context parameter.
|
static String |
RESTEASY_KEY_STORE_CLASSPATH
Context parameter.
|
static String |
RESTEASY_KEY_STORE_FILE_NAME
Context parameter.
|
static String |
RESTEASY_KEY_STORE_PASSWORD
Context parameter.
|
| Constructor and Description |
|---|
ConfiguredDosetaKeyRepository(ResteasyConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
PrivateKey |
findPrivateKey(DKIMSignature header) |
PublicKey |
findPublicKey(DKIMSignature header) |
String |
getDefaultPrivateDomain()
What should be the default domain to use when creating signature header
|
String |
getDefaultPrivateSelector()
What should be the default selector to use when creating signature header
|
public static String RESTEASY_KEY_STORE_FILE_NAME
public static String RESTEASY_KEY_STORE_CLASSPATH
public static String RESTEASY_KEY_STORE_PASSWORD
public static String RESTEASY_DOSETA_USE_DNS
public static String RESTEASY_DOSETA_DNS_URI
public static String RESTEASY_DOSETA_DEFAULT_PRIVATE_DOMAIN
public static String RESTEASY_DOSETA_CACHE_TIMEOUT
public static String RESTEASY_DOSETA_PRINCIPAL_FOR_PRIVATE
protected DosetaKeyRepository keyRepository
public ConfiguredDosetaKeyRepository(@Context
ResteasyConfiguration config)
public PrivateKey findPrivateKey(DKIMSignature header)
findPrivateKey in interface KeyRepositorypublic PublicKey findPublicKey(DKIMSignature header)
findPublicKey in interface KeyRepositorypublic String getDefaultPrivateSelector()
KeyRepositorygetDefaultPrivateSelector in interface KeyRepositorypublic String getDefaultPrivateDomain()
KeyRepositorygetDefaultPrivateDomain in interface KeyRepositoryCopyright © 2017 JBoss by Red Hat. All rights reserved.