public class EncryptedKeyProvider extends BaseKeyProvider
| Modifier and Type | Field and Description | 
|---|---|
static String | 
DEFAULT_GENKEY_ALG  | 
AES_ALGORITHMS, DSA_ALGORITHMS, RSA_ALGORITHMS, TRIPLEDES_ALGORITHMS| Modifier and Type | Method and Description | 
|---|---|
KeySelectorResult | 
getKey(String alg,
      KeySelector.Purpose purpose)  | 
KeySelectorResult | 
getKeyByIdentifier(byte[] keyIdentifier,
                  String alg,
                  KeySelector.Purpose purpose)  | 
static byte[] | 
getKeyIdentifier(EncryptedKey encryptedKey)  | 
static List<byte[]> | 
getKeyIdentifiers(EncryptedKey encryptedKey)  | 
getIdentifier, getKeyByIssuerSerial, getKeyByName, getKeyBySTR, getKeyBySubjectName, getKeyByURI, getName, getSecurityToken, getUri, toStringpublic static final String DEFAULT_GENKEY_ALG
public static List<byte[]> getKeyIdentifiers(EncryptedKey encryptedKey) throws XMLEncryptionException
XMLEncryptionExceptionpublic static byte[] getKeyIdentifier(EncryptedKey encryptedKey) throws XMLEncryptionException
XMLEncryptionExceptionpublic KeySelectorResult getKeyByIdentifier(byte[] keyIdentifier, String alg, KeySelector.Purpose purpose)
getKeyByIdentifier in interface KeyProvidergetKeyByIdentifier in class BaseKeyProviderpublic KeySelectorResult getKey(String alg, KeySelector.Purpose purpose)