public void decryptAndReplace(Key contentDecryptionKey)
throws XMLSecurityException {
EncryptionMethod em = this.getEncryptionMethod();
byte ciphertext[] = this.getCipherData().getCipherValue().getCipherText();
byte plaintext[] = em.decrypt(ciphertext, contentDecryptionKey);
try {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
String container = "container";