xmlCipher.doFinal(envelopedDoc,rootElement,true);
JAXBElement unmarshalledData = (JAXBElement) unmarshaller.unmarshal(envelopedDoc.getDocumentElement().getFirstChild());
EncryptedDataType encryptedDataType = (EncryptedDataType) unmarshalledData.getValue();
privateKeyType = xKMSObjectFactory.createPrivateKeyType();
privateKeyType.setEncryptedData(encryptedDataType);
} catch (ParserConfigurationException e) {
log.error("Error encryption private key", e);