com.aspose.note.revision

Interfaces

Classes

com.aspose.note.revision

Class CryptoEncryptionData



  • public class CryptoEncryptionData
    extends Object

    Data loaded from the file for document encryption

    • Constructor Detail

      • CryptoEncryptionData

        public CryptoEncryptionData()
    • Method Detail

      • getSaltValue

        public byte[] getSaltValue()

        Gets or sets the salt value.

      • setSaltValue

        public void setSaltValue(byte[] value)

        Gets or sets the salt value.

      • getPasswordEncryptorData

        public PasswordKeyEncryptorData getPasswordEncryptorData()

        Gets or sets the password encryptor data.

      • setPasswordEncryptorData

        public void setPasswordEncryptorData(PasswordKeyEncryptorData value)

        Gets or sets the password encryptor data.

      • writeToStream

        public static void writeToStream(com.aspose.ms.System.IO.Stream stream,
                                         EncryptionConfig config,
                                         CryptoEncryptionData data)

        Write the given config + data classes into the EncryptionInfo stream

        Parameters:
        stream - The stream.
        config - The config.
        data - The data.
      • writeToXml

        public static void writeToXml(com.aspose.ms.System.Xml.XmlTextWriter writer,
                                      EncryptionConfig config,
                                      CryptoEncryptionData data)

        Write the given config + data classes into XML.

        Parameters:
        writer - The writer.
        config - The config.
        data - The data.