public abstract class AbstractEncryptedKeyResolver extends Object implements EncryptedKeyResolver
EncryptedKeyResolver
.Constructor and Description |
---|
AbstractEncryptedKeyResolver()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getRecipients()
Get the list of recipient criteria used by this resolver, and against which a candidate
EncryptedKey's Recipient attribute is evaluated.
|
protected boolean |
matchCarriedKeyName(EncryptedData encryptedData,
EncryptedKey encryptedKey)
Evaluate whether an EncryptedKey's CarriedKeyName matches one of the KeyName values
from the EncryptedData context.
|
protected boolean |
matchDataReference(EncryptedData encryptedData,
EncryptedKey encryptedKey)
Evaluate whether any of the EncryptedKey's DataReferences refer to the EncryptedData
context.
|
protected boolean |
matchRecipient(String recipient)
Evaluate whether the specified recipient attribute value matches this resolver's
recipient criteria.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolve
public List<String> getRecipients()
getRecipients
in interface EncryptedKeyResolver
protected boolean matchRecipient(String recipient)
recipient
- the recipient value to evaluateprotected boolean matchCarriedKeyName(EncryptedData encryptedData, EncryptedKey encryptedKey)
encryptedData
- the EncryptedData contextencryptedKey
- the candidate Encryptedkey to evaluateprotected boolean matchDataReference(EncryptedData encryptedData, EncryptedKey encryptedKey)
encryptedData
- the EncryptedData contextencryptedKey
- the candidate Encryptedkey to evaluateCopyright © 2018 JBoss by Red Hat. All rights reserved.