javax.xml.crypto.enc

Interface XMLEncryptContext

    • Method Detail

      • getEncryptionMethod

        EncryptionMethod getEncryptionMethod()
        Returns the EncryptionMethod for encryption if an EncryptionMethod will not be present in the EncryptedType
        Returns:
        the EncryptionMethod for encryption
      • setEncryptionMethod

        void setEncryptionMethod(EncryptionMethod encMethod)
        Specifies the EncryptionMethod for encryption if an EncryptionMethod will not be present in the EncryptedType
        Parameters:
        encMethod - the EncryptionMethod for encryption
      • getIvParameterSpec

        javax.crypto.spec.IvParameterSpec getIvParameterSpec()
        Returns the IvParameterSpec to be use for block encryption if an initialization vector is needed.
        Returns:
        the IvParameterSpec to be used for block encryption
      • setIvParameterSpec

        void setIvParameterSpec(javax.crypto.spec.IvParameterSpec ivSpec)
        Specifies the IvParameterSpec for block encryption if an initialization vector is needed. It is recommended to not to reuse the IvParameterSpec for different encryption instances.
        Parameters:
        ivSpec - the initialization vector for block encryption
XML Security (JSR 105/106), 1.8

Copyright © 2015 IBM Corporation. All Rights Reserved.