PDFDécrypteur

Vue de l’ensemble

‘PDFDecryptor’ est une classe dans Aspose.PDF FOSS pour Java.

Décryptage des objets PDF individuels (strings et courants).

Cette classe fournit 6 méthodes pour travailler avec les objets PDFDecryptor dans les programmes Java. Les méthodologies disponibles comprennent: ‘PDFDecrypto’, ‘decrypt’, `getCustomHandler’, ‘getEncryptionKey’, ‘isActive’. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : ‘active’, ’customMandle’, ‘encryptionsKee’.

Propriétés

NameTypeAccessDescription
activebooleanReadReturns true if the decryptor has a valid key.
encryptionKeybyte[]ReadReturns a copy of the file encryption key currently used for decryption.
customHandlerICustomSecurityHandlerReadReturns the custom handler used by this decryptor, if any.

méthodes

SignatureDescription
PDFDecryptor(encryptionKey: byte[], encDict: PDFEncryptionDict)Creates a decryptor with the given key and encryption parameters.
PDFDecryptor(encryptionKey: byte[], encDict: PDFEncryptionDict, customHandler: ICustomSecurityHandler)Creates a decryptor backed by a custom security handler.
decrypt(data: byte[], objectNumber: int, generationNumber: int)byte[]Decrypts data belonging to a specific PDF object.
isActive()booleanReturns true if the decryptor has a valid key.
getEncryptionKey()byte[]Returns a copy of the file encryption key currently used for decryption.
getCustomHandler()ICustomSecurityHandlerReturns the custom handler used by this decryptor, if any.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français