String wrappedKeyAlgorithm =
JCEMapper
.translateURItoJCEID(wrappedKeyURI, this
.getRequiredProviderName()).getAlgorithmID();
int wrappedKeyType = JCEMapper.getKeyTypeFromURI(wrappedKeyURI);
AESWrapper wrapper = new AESWrapper(this._cipher);
byte[] encoded = wrapper.unwrap(wrappedKey, wrapKey);
if (wrappedKeyType == Cipher.SECRET_KEY) {
return new SecretKeySpec(encoded, wrappedKeyAlgorithm);
} else {
try {