PDFDecryptor

PDFDecryptor

Összefoglaló

PDFDecryptor egy osztály a Aspose.PDF FOSS-ban Java számára.

A PDF-objektumok (sorok és folyamlások) kódját letiltja.

Ez a osztály 6 módszert kínál a PDFDecryptor objektumokkal való munkavégzéshez Java programokban. A rendelkezésre álló módszerek közé tartozik: PDFDecriptor, ̋decrypt , ∂getCustomHandler,, ゚getEncryptionKey és ゙isActive . Minden nyilvános tag hozzáférhető bármely Java alkalmazáshoz az Aspose.PDF FOSS for Java csomag telepítése után. tulajdonságai: ¬ ̄active, ¬‚custamHangler⌒, ̈encryptionk̅.

A tulajdonságok

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ódszerek

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.

Lásd még:

  • Aspose.PDF a Java Enterprise API referenciára
 Magyar