PdfEncryptionAES class
Encrypt the PDF Using AES
- Inheritance
-
- Object
- PdfEncryptionRC4
- PdfEncryptionAES
Constructors
-
PdfEncryptionAES(PdfDocument pdfDocument, {String? user, String? owner, Set<
PdfAccessFlags> ? accessFlags, PdfAESLevel? level}) -
Create a PdfEncryptionAES object to encrypt the entire document
factory
Properties
- elapsedStopwatch → int
-
no setterinherited
-
encryptionKey
→ List<
int> -
The encryption key
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- inUse ↔ bool
-
getter/setter pairinherited
- length → int
-
the key length: 40 or 128 bytes
finalinherited
- objgen → int
-
This is the generation number for this object.
finalinherited
- objser → int
-
This is the unique serial number for this object.
finalinherited
-
params
→ PdfDict<
PdfDataType> -
finalinherited
- pdfDocument → PdfDocument
-
This allows any Pdf object to refer to the document being constructed.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → PdfSettings
-
finalinherited
- size ↔ int
-
getter/setter pairinherited
Methods
-
debugFill(
String value) → void -
inherited
-
encrypt(
Uint8List input, PdfObjectBase< PdfDataType> object) → Uint8List -
Encrypt some data
override
-
keyHash(
int objser, int objgen) → Uint8List -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
output(
PdfStream s) → int -
inherited
-
prepare(
) → void -
Prepare the object to be written to the stream
inherited
-
ref(
) → PdfIndirect -
Returns the unique serial number in Pdf format
inherited
-
setInsertion(
PdfStream os, [int size = _maxSize]) → void -
inherited
-
startStopwatch(
) → void -
inherited
-
stopStopwatch(
) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
writeContent(
PdfStream s) → void -
inherited
-
writeDebug(
PdfStream os) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- encryptMetadata → const bool
- Wether to encrypt PDF metadata or not