com.aspose.note.revision

Interfaces

Classes

com.aspose.note.revision

Interface IEncryptionSession

  • All Known Implementing Classes:
    EncryptionSession


    public interface IEncryptionSession

    Represents an instance of document encryption

    • Method Detail

      • isUnlocked

        boolean isUnlocked()
      • getCipherBlockBytes

        int getCipherBlockBytes()
      • setPassword

        void setPassword(String password)
      • unlockWithPassword

        boolean unlockWithPassword(String password)
      • writeToStream

        void writeToStream(com.aspose.ms.System.IO.Stream stream)
      • getEncryptionConfig

        byte[] getEncryptionConfig()
      • getEncryptedStream

        com.aspose.ms.System.IO.Stream getEncryptedStream(com.aspose.ms.System.IO.Stream stream)
      • decrypt

        com.aspose.ms.System.IO.Stream decrypt(byte[] encryptedBytes)
      • decrypt

        com.aspose.ms.System.IO.Stream decrypt(byte[] encryptedBytes,
                                               int encryptedPackageLength)
      • decrypt

        com.aspose.ms.System.IO.Stream decrypt(com.aspose.ms.System.IO.Stream stream)
      • encrypt

        byte[] encrypt(byte[] buffer)
      • getEncryptor

        com.aspose.ms.System.Security.Cryptography.ICryptoTransform getEncryptor()
      • getDecryptor

        com.aspose.ms.System.Security.Cryptography.ICryptoTransform getDecryptor()