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