PDFDecryptor

PDFDecryptor

General

PDFDecryptor és una classe en Aspose.PDF FOSS per Java.

Descifra objectes PDF individuals (cadenes i flux).

Aquesta classe proporciona 6 mètodes per treballar amb objectes PDFDecryptor en programes Java. Els mètods disponibles inclouen: PDFDecriptor, ̋decrypt , ∂getCustomHandler,, ⌒getEncryptionKey,. ゚isActive . Tots els membres públics són accessibles a qualsevol aplicació de Java després d’instal·lar el paquet Aspose.PDF FOSS for Java . Propietats: ¬ ̄active, ¬ ̈custumHanglerヽ, ¡ ̄encryptionQ©ˆ .

Propietats

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ètodes

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.

Vegeu també

  • Aspose.PDF per Java Referència API d’empresa
 Català