Encryption bugfixing (RC4)

This commit is contained in:
Jakub Melka
2021-05-30 15:37:06 +02:00
parent e3fecc0568
commit e001adc65b
11 changed files with 132 additions and 64 deletions

View File

@ -72,6 +72,12 @@ struct WrapString
}
WrapString(const QByteArray& byteArray) :
string(byteArray)
{
}
QByteArray string;
};
@ -421,9 +427,10 @@ public:
/// \param annotationReference Annotation reference
void copyAnnotation(PDFObjectReference pageReference, PDFObjectReference annotationReference);
/// Sets security handler to the object storage. Trailer dictionary is not
/// updated and so must be updated manually.
/// \param handler New security handler
/// Sets security handler to the object storage. Trailer dictionary is also
/// updated, so it is not needed to update it. Pass nullptr as handler to remove
/// security.
/// \param handler New security handler, or nullptr
void setSecurityHandler(PDFSecurityHandlerPointer handler);
/* START GENERATED CODE */