/** {@inheritDoc} */ protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { EncryptedKey ek = (EncryptedKey) xmlObject; if (attribute.getLocalName().equals(EncryptedKey.RECIPIENT_ATTRIB_NAME)) { ek.setRecipient(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { EncryptedKey ek = (EncryptedKey) xmlObject; if (attribute.getLocalName().equals(EncryptedKey.RECIPIENT_ATTRIB_NAME)) { ek.setRecipient(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }
encryptedKey.setRecipient(kekParams.getRecipient());
encryptedKey.setRecipient(kekParams.getRecipient());