/** {@inheritDoc} */ protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { EncryptionMethod em = (EncryptionMethod) xmlObject; if (attribute.getLocalName().equals(EncryptionMethod.ALGORITHM_ATTRIB_NAME)) { em.setAlgorithm(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { EncryptionMethod em = (EncryptionMethod) xmlObject; if (attribute.getLocalName().equals(EncryptionMethod.ALGORITHM_ATTRIB_NAME)) { em.setAlgorithm(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }
encryptionMethod.setAlgorithm(EncryptionConstants.ALGO_ID_KEYTRANSPORT_RSA15);