Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fpdf_signature.cpp File Reference

(acbcf08a6dffdfe90a6eaf661fcd6923f0de2447)

#include "public/fpdf_signature.h"
#include <utility>
#include <vector>
#include "constants/form_fields.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fxcrt/stl_util.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "third_party/base/numerics/safe_conversions.h"
+ Include dependency graph for fpdf_signature.cpp:

Go to the source code of this file.

Functions

FPDF_EXPORT int FPDF_CALLCONV FPDF_GetSignatureCount (FPDF_DOCUMENT document)
 
FPDF_EXPORT FPDF_SIGNATURE FPDF_CALLCONV FPDF_GetSignatureObject (FPDF_DOCUMENT document, int index)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFSignatureObj_GetContents (FPDF_SIGNATURE signature, void *buffer, unsigned long length)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFSignatureObj_GetByteRange (FPDF_SIGNATURE signature, int *buffer, unsigned long length)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFSignatureObj_GetSubFilter (FPDF_SIGNATURE signature, char *buffer, unsigned long length)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFSignatureObj_GetReason (FPDF_SIGNATURE signature, void *buffer, unsigned long length)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFSignatureObj_GetTime (FPDF_SIGNATURE signature, char *buffer, unsigned long length)
 
FPDF_EXPORT unsigned int FPDF_CALLCONV FPDFSignatureObj_GetDocMDPPermission (FPDF_SIGNATURE signature)
 

Function Documentation

◆ FPDF_GetSignatureCount()

FPDF_EXPORT int FPDF_CALLCONV FPDF_GetSignatureCount ( FPDF_DOCUMENT document)

Definition at line 48 of file fpdf_signature.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetSignatureObject()

FPDF_EXPORT FPDF_SIGNATURE FPDF_CALLCONV FPDF_GetSignatureObject ( FPDF_DOCUMENT document,
int index )

Definition at line 57 of file fpdf_signature.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFSignatureObj_GetByteRange()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFSignatureObj_GetByteRange ( FPDF_SIGNATURE signature,
int * buffer,
unsigned long length )

Definition at line 94 of file fpdf_signature.cpp.

References CPDFDictionaryFromFPDFSignature().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFSignatureObj_GetContents()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFSignatureObj_GetContents ( FPDF_SIGNATURE signature,
void * buffer,
unsigned long length )

Definition at line 71 of file fpdf_signature.cpp.

References fxcrt::ByteString::c_str(), and CPDFDictionaryFromFPDFSignature().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFSignatureObj_GetDocMDPPermission()

FPDF_EXPORT unsigned int FPDF_CALLCONV FPDFSignatureObj_GetDocMDPPermission ( FPDF_SIGNATURE signature)

Definition at line 182 of file fpdf_signature.cpp.

References CPDFDictionaryFromFPDFSignature().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFSignatureObj_GetReason()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFSignatureObj_GetReason ( FPDF_SIGNATURE signature,
void * buffer,
unsigned long length )

Definition at line 139 of file fpdf_signature.cpp.

References CPDFDictionaryFromFPDFSignature().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFSignatureObj_GetSubFilter()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFSignatureObj_GetSubFilter ( FPDF_SIGNATURE signature,
char * buffer,
unsigned long length )

Definition at line 121 of file fpdf_signature.cpp.

References CPDFDictionaryFromFPDFSignature(), and NulTerminateMaybeCopyAndReturnLength().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFSignatureObj_GetTime()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFSignatureObj_GetTime ( FPDF_SIGNATURE signature,
char * buffer,
unsigned long length )

Definition at line 161 of file fpdf_signature.cpp.

References CPDFDictionaryFromFPDFSignature().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: