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
| Name | Type | Access | Description |
|---|---|---|---|
active | boolean | Read | Returns true if the decryptor has a valid key. |
encryptionKey | byte[] | Read | Returns a copy of the file encryption key currently used for decryption. |
customHandler | ICustomSecurityHandler | Read | Returns the custom handler used by this decryptor, if any. |
Módszerek
| Signature | Description |
|---|---|
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() → boolean | Returns true if the decryptor has a valid key. |
getEncryptionKey() → byte[] | Returns a copy of the file encryption key currently used for decryption. |
getCustomHandler() → ICustomSecurityHandler | Returns the custom handler used by this decryptor, if any. |
Lásd még:
- Aspose.PDF a Java Enterprise API referenciára