PdfEncryptionRC4 class Null safety

Encrypt the document using RC4

Implementers

Constructors

PdfEncryptionRC4(PdfDocument pdfDocument, {String? user, String? owner, Set<PdfAccessFlags>? accessFlags, PdfRC4Level? level})
Creates a PdfEncryptionRC4 object to encrypt the entire document
factory
PdfEncryptionRC4.build(PdfDocument pdfDocument, List<int> uValue, List<int> oValue, List<int> encryptionKey, int accessFlags, int length)

Properties

elapsedStopwatch int
read-only, inherited
encryptionKey List<int>
The encryption key
final
hashCode int
The hash code for this object.
read-only, inherited
length int
the key length: 40 or 128 bytes
final
objgen int
This is the generation number for this object.
final, inherited
objser int
This is the unique serial number for this object.
final, inherited
params → PdfDict<PdfDataType>
This is the object parameters.
final, inherited
pdfDocument → PdfDocument
This allows any Pdf object to refer to the document being constructed.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

debugFill(String value) → void
@mustCallSuper, @protected, inherited
encrypt(Uint8List input, PdfObject<PdfDataType> object) Uint8List
Encrypt some data
keyHash(int objser, int objgen) List<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
prepare() → void
Prepare the object to be written to the stream
@mustCallSuper, inherited
ref() → PdfIndirect
Returns the unique serial number in Pdf format
inherited
setInsertion(PdfStream os) → void
inherited
startStopwatch() → void
inherited
stopStopwatch() → void
inherited
toString() String
A string representation of this object.
inherited
write(PdfStream os) → void
Writes the object to the output stream.
inherited
writeContent(PdfStream os) → void
inherited
writeDebug(PdfStream os) → void
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited