com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class PdfEncrypt

  • java.lang.Object
    • com.aspose.threed.PdfEncrypt


  • public class PdfEncrypt
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      PdfEncrypt(com.aspose.threed.PdfDocument doc, byte[] password, com.aspose.threed.PdfDictionary encrypt) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      byte[] decrypt(byte[] data) 
      void setHashKey(int objectId, int generationId) 
      void setupByOwnerPassword(byte[] documentID, byte[] ownerPassword, byte[] userKey, byte[] ownerKey, long permissions) 
      void setupByUserPassword(byte[] documentID, byte[] userPassword, byte[] ownerKey, long permissions) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PdfEncrypt

        public PdfEncrypt(com.aspose.threed.PdfDocument doc,
                          byte[] password,
                          com.aspose.threed.PdfDictionary encrypt)
                   throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • setupByOwnerPassword

        public void setupByOwnerPassword(byte[] documentID,
                                         byte[] ownerPassword,
                                         byte[] userKey,
                                         byte[] ownerKey,
                                         long permissions)
      • setupByUserPassword

        public void setupByUserPassword(byte[] documentID,
                                        byte[] userPassword,
                                        byte[] ownerKey,
                                        long permissions)
      • setHashKey

        public void setHashKey(int objectId,
                               int generationId)
                        throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException