public class BasicDecryptionParametersResolver extends AbstractSecurityParametersResolver<DecryptionParameters> implements DecryptionParametersResolver
DecryptionParametersResolver
.
The following Criterion
inputs are supported:
DecryptionConfigurationCriterion
- requiredConstructor and Description |
---|
BasicDecryptionParametersResolver() |
Modifier and Type | Method and Description |
---|---|
protected void |
logResult(DecryptionParameters params)
Log the resolved parameters.
|
Iterable<DecryptionParameters> |
resolve(CriteriaSet criteria)
Process the specified criteria and return the resulting instances of the product type
which satisfy the criteria.
|
protected KeyInfoCredentialResolver |
resolveDataKeyInfoCredentialResolver(CriteriaSet criteria)
Resolve and return the effective
KeyInfoCredentialResolver used with
EncryptedData instances. |
protected EncryptedKeyResolver |
resolveEncryptedKeyResolver(CriteriaSet criteria)
Resolve and return the effective
EncryptedKeyResolver . |
protected KeyInfoCredentialResolver |
resolveKEKKeyInfoCredentialResolver(CriteriaSet criteria)
Resolve and return the effective
KeyInfoCredentialResolver used with
EncryptedKey instances. |
DecryptionParameters |
resolveSingle(CriteriaSet criteria)
Process the specified criteria and return a single instance of the product type
which satisfies the criteria.
|
lookupKeyInfoGenerator, resolveAndPopulateWhiteAndBlacklists, resolveEffectiveBlacklist, resolveEffectiveWhitelist, resolveWhitelistBlacklistPrecedence, resolveWhitelistBlacklistPredicate
@Nonnull public Iterable<DecryptionParameters> resolve(@Nonnull CriteriaSet criteria) throws ResolverException
resolve
in interface Resolver<DecryptionParameters,CriteriaSet>
criteria
- the criteria to evaluate or processResolverException
- thrown if there is an error processing the specified criteria@Nullable public DecryptionParameters resolveSingle(@Nonnull CriteriaSet criteria) throws ResolverException
resolveSingle
in interface Resolver<DecryptionParameters,CriteriaSet>
criteria
- the criteria to evaluate or processResolverException
- thrown if there is an error processing the specified criteriaprotected void logResult(@Nonnull DecryptionParameters params)
params
- the resolved param@Nullable protected EncryptedKeyResolver resolveEncryptedKeyResolver(@Nonnull CriteriaSet criteria)
EncryptedKeyResolver
.criteria
- the input criteria being evaluated@Nullable protected KeyInfoCredentialResolver resolveKEKKeyInfoCredentialResolver(@Nonnull CriteriaSet criteria)
KeyInfoCredentialResolver
used with
EncryptedKey
instances.criteria
- the input criteria being evaluated@Nullable protected KeyInfoCredentialResolver resolveDataKeyInfoCredentialResolver(@Nonnull CriteriaSet criteria)
KeyInfoCredentialResolver
used with
EncryptedData
instances.criteria
- the input criteria being evaluatedCopyright © 2016 JBoss by Red Hat. All rights reserved.