< prev index next >

src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/encryption/EncryptionMethod.java

Print this page

        

*** 24,48 **** import java.util.Iterator; import org.w3c.dom.Element; /** ! * <code>EncryptionMethod</code> describes the encryption algorithm applied to * the cipher data. If the element is absent, the encryption algorithm must be * known by the recipient or the decryption will fail. * <p> * It is defined as follows: ! * <xmp> * <complexType name='EncryptionMethodType' mixed='true'> * <sequence> * <element name='KeySize' minOccurs='0' type='xenc:KeySizeType'/> * <element name='OAEPparams' minOccurs='0' type='base64Binary'/> * <any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> * </sequence> * <attribute name='Algorithm' type='anyURI' use='required'/> * </complexType> ! * </xmp> * * @author Axl Mattheus */ public interface EncryptionMethod { /** --- 24,48 ---- import java.util.Iterator; import org.w3c.dom.Element; /** ! * {@code EncryptionMethod} describes the encryption algorithm applied to * the cipher data. If the element is absent, the encryption algorithm must be * known by the recipient or the decryption will fail. * <p> * It is defined as follows: ! * <pre>{@code * <complexType name='EncryptionMethodType' mixed='true'> * <sequence> * <element name='KeySize' minOccurs='0' type='xenc:KeySizeType'/> * <element name='OAEPparams' minOccurs='0' type='base64Binary'/> * <any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> * </sequence> * <attribute name='Algorithm' type='anyURI' use='required'/> * </complexType> ! * }</pre> * * @author Axl Mattheus */ public interface EncryptionMethod { /**
*** 106,119 **** */ String getMGFAlgorithm(); /** * Returns an iterator over all the additional elements contained in the ! * <code>EncryptionMethod</code>. * ! * @return an <code>Iterator</code> over all the additional information ! * about the <code>EncryptionMethod</code>. */ Iterator<Element> getEncryptionMethodInformation(); /** * Adds encryption method information. --- 106,119 ---- */ String getMGFAlgorithm(); /** * Returns an iterator over all the additional elements contained in the ! * {@code EncryptionMethod}. * ! * @return an {@code Iterator} over all the additional information ! * about the {@code EncryptionMethod}. */ Iterator<Element> getEncryptionMethodInformation(); /** * Adds encryption method information.
*** 124,132 **** /** * Removes encryption method information. * * @param information the information to remove from the ! * <code>EncryptionMethod</code>. */ void removeEncryptionMethodInformation(Element information); } --- 124,132 ---- /** * Removes encryption method information. * * @param information the information to remove from the ! * {@code EncryptionMethod}. */ void removeEncryptionMethodInformation(Element information); }
< prev index next >