PDFDecryptor

Opinie generală

PDFDecryptor este o clasă în Aspose.PDF FOSS pentru Java.

Decriptază obiecte PDF individuale (strings și fluxuri).

Această clasă oferă 6 metode pentru a lucra cu obiecte PDFDecryptor în programele Java. Metodele disponibile includ: PDFDecriptor, ̋decrypt , ∂getCustomHandler,, ゚getEncryptionKey` ,, ゙isActive⌒ . Toți membrii publici sunt accesibili oricărei aplicații Java după instalarea pachetului Aspose.PDF FOSS for Java . Proprietățile: ¬active ̈, ¬custumHangler ̈ , ¬encryption Key ̈ .

Proprietăți

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.

Metode de evaluare

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.

Vezi și:

  • Aspose.PDF pentru Java Enterprise API Referință
 Română