Foxit PDF SDK
|
Public Member Functions | |
bool | GenerateAppearance () |
Generate the appearance of paging seal signature. More... | |
void | SetAPStateBitmap (PagingSealSignature.PagingSealAPState ap_state, Bitmap bitmap) |
Set a bitmap for the appearance of signature state. More... | |
void | SetPagingSealConfig (PagingSealConfig paging_seal_config) |
Set the config of paging seal signature. More... | |
![]() | |
Signature (Field field) | |
Constructor, with parent class object. More... | |
Signature (PDFDoc document, PDFDictionary sig_field_dict) | |
Constructor, from signature field dictionary. More... | |
bool | ClearSignedData () |
Clear the data and appearance if current signature is singed and verified valid. More... | |
int | GetAppearanceFlags () |
Get signature appearance flags. More... | |
Bitmap | GetBitmap () |
Get a bitmap which is used for the signature appearance. More... | |
bool | GetByteRangeArray (int[] out_byte_range_array) |
Get the byte ranges data, including 4 elements. More... | |
string | GetCert (int index) |
Get a certificate from current signature's certificate chain by index. More... | |
int | GetCertCount () |
Get the count of certificates in current signature's certificate chain. More... | |
string | GetCertificateInfo (string key) |
Get certificate information. More... | |
Signature.DocPermission | GetDocPermission () |
Get document permission for current signature. More... | |
PDFDoc | GetDocument () |
Get the PDF document, which current signature belongs to. More... | |
Signature.FieldMDPAction | GetFieldMDPAction () |
Get FieldMDP("MDP" means modification detection and prevention) action type. More... | |
WStringArray | GetFieldMDPActionFields () |
Get the field name array which is used for FieldMDP action. More... | |
string | GetFilter () |
Get filter. More... | |
string | GetKeyLabel (Signature.LabelName label_name) |
Get the string for specified key label. More... | |
string | GetKeyValue (Signature.KeyName key) |
Get the string value for specified key name. More... | |
Signature.PAdESLevel | GetPAdESLevel () |
Get PAdES level. More... | |
PDFDictionary | GetSignatureDict () |
Get signature dictionary. More... | |
Signature.SignatureType | GetSignatureType () |
Get signature type. More... | |
PDFDoc | GetSignedVersionDocument (string file_path) |
Get the PDF document in the signed version in which current signature was signed. More... | |
DateTime | GetSignTime () |
Get time of signing. More... | |
uint | GetState () |
Get current state. More... | |
string | GetSubFilter () |
Get sub filter. More... | |
new bool | IsEmpty () |
Check whether current object is empty or not. More... | |
bool | IsSigned () |
Check whether current signature is signed or not. More... | |
bool | IsTimeStamp () |
Check if current signature is a time stamp signature. More... | |
void | SetAppearanceContent (string appearance_content) |
Set customized appearance content (as low level drawing operation commands) for signed signature appearance. More... | |
void | SetAppearanceFlags (int appearance_flags) |
Set signature appearance flags. More... | |
void | SetBitmap (Bitmap bitmap) |
Set a bitmap for the signature appearance. More... | |
void | SetCertChain (WStringArray cert_chain) |
Set a certificate chain. More... | |
void | SetDefaultContentsLength (int default_length) |
Set the default length of signature contents which represents signature value (known as signed data). More... | |
void | SetDocPermission (Signature.DocPermission permission) |
Set document permission for current signature. More... | |
void | SetFieldMDPActionFields (Signature.FieldMDPAction action, WStringArray field_array) |
Set FieldMDP("MDP" means modification detection and prevention) action names array. More... | |
void | SetFilter (string filter) |
Set filter. More... | |
void | SetImage (Image image, int frame_index) |
Set an image for the signature appearance, with a specified frame index. More... | |
void | SetImage (string file_path, int frame_index) |
Set an image for the signature appearance, with a specified frame index. More... | |
void | SetKeyLabel (Signature.LabelName label_name, string label_value) |
Set the string for specified key label. More... | |
void | SetKeyValue (Signature.KeyName key, string value) |
Set the string value for specified key name. More... | |
void | SetSignTime (DateTime sign_time) |
Set time of signing. More... | |
void | SetSubFilter (string sub_filter) |
Set sub filter. More... | |
Progressive | StartSign (string cert_path, byte[] cert_password, Signature.DigestAlgorithm digest_algorithm, string save_path, global::System.IntPtr client_data, PauseCallback pause) |
Start signing current signature if current signature is unsigned. More... | |
Progressive | StartSign (StreamCallback cert_file_stream, byte[] cert_password, Signature.DigestAlgorithm digest_algorithm, string save_path, global::System.IntPtr client_data, PauseCallback pause) |
Start signing current signature if current signature is unsigned. More... | |
Progressive | StartSign (string cert_path, byte[] cert_password, Signature.DigestAlgorithm digest_algorithm, StreamCallback stream_callback, global::System.IntPtr client_data, PauseCallback pause) |
Start signing current signature if current signature is unsigned. More... | |
Progressive | StartSign (StreamCallback cert_file_stream, byte[] cert_password, Signature.DigestAlgorithm digest_algorithm, StreamCallback stream_callback, global::System.IntPtr client_data, PauseCallback pause) |
Start signing current signature if current signature is unsigned. More... | |
Progressive | StartVerify (global::System.IntPtr client_data, PauseCallback pause) |
Start verifying the intergrity of current signature if current signature is signed. More... | |
![]() | |
Field (PDFDoc document, PDFDictionary field_dict) | |
Constructor, from field dictionary. More... | |
Field (Field field) | |
Constructor, with another form field object. More... | |
Alignment | GetAlignment () |
Get the alignment value. More... | |
string | GetAlternateName () |
Get alternate name. More... | |
Control | GetControl (int index) |
Get a form control by index. More... | |
Control | GetControl (PDFPage page, int index) |
Get a form control by index, in a specified PDF page. More... | |
int | GetControlCount () |
Get count of form controls. More... | |
int | GetControlCount (PDFPage page) |
Get count of form controls in a specified PDF page. More... | |
DefaultAppearance | GetDefaultAppearance () |
Get the default appearance data. More... | |
string | GetDefaultValue () |
Get default value. More... | |
PDFObject | GetDefaultValueObj () |
Get the PDF object of field's default value. More... | |
PDFDictionary | GetDict () |
Get the PDF dictionary of current object. More... | |
int | GetFlags () |
Get field flags. More... | |
PDFObject | GetInheritedAttribute (string attribute_name) |
Get the PDF object for specified attribute which may be inherited from the ancestor node in the field tree. More... | |
string | GetMappingName () |
Get mapping name. More... | |
int | GetMaxLength () |
Get maximum length of the field's text, in characters. More... | |
string | GetName () |
Get field name. More... | |
ChoiceOptionArray | GetOptions () |
Get options of list box or combo box. More... | |
int | GetTopVisibleIndex () |
Get top index of option for scrollable list boxes. More... | |
Field.Type | GetType () |
Get field type. More... | |
string | GetValue () |
Get value. More... | |
PDFObject | GetValueObj () |
Get the PDF object of field's value. More... | |
bool | IsEmpty () |
Check whether current object is empty or not. More... | |
bool | Reset () |
Reset data in current field to its default value. (Not support signature field) More... | |
void | SetAlignment (Alignment alignment) |
Set alignment property of a form, as a document-wide default value. (Not support signature field) More... | |
void | SetAlternateName (string alternate_name) |
Set alternate name. (Not support signature field) More... | |
void | SetDefaultAppearance (DefaultAppearance default_ap) |
Set default appearance data. More... | |
void | SetDefaultValue (string value) |
Set default value. More... | |
void | SetFlags (int flags) |
Set field flags. More... | |
void | SetMappingName (string name) |
Set mapping name. (Not support signature field) More... | |
void | SetMaxLength (int max_length) |
Set maximum length of the field's text, in characters. More... | |
void | SetOptions (ChoiceOptionArray option_array) |
Set options of list box or combo box. More... | |
void | SetTopVisibleIndex (int index) |
Set top index for scrollable list boxes. More... | |
void | SetValue (string value) |
Set value. More... | |
This class represents a paging seal signature object for signing the signatures. It is a type of signature field, so class PagingSealSignature is derived from class foxit.pdf.Signature . A new paging seal signature object would be returned by function PDFDoc.AddPagingSealSignature , instead of PDFPage.AddSignature .
A paging seal signature contains a few signatures. To set the configuration of paging seal signature, please use the function PagingSealSignature.SetPagingSealConfig .
|
strong |
Enumeration for paging seal signature state to set appearance.
Values of this enumeration should be used alone.
|
inline |
Generate the appearance of paging seal signature.
This function should be called before signing and the paging seal config should be set already. If this function is not called, the page will not display the paging seal signatures.
|
inline |
Set a bitmap for the appearance of signature state.
If user wants the setting by this function has effect on paging seal signatures' appearance, please call function PagingSealSignture::GenerateAppearence after this function.
[in] | ap_state | The state of signature. |
[in] | bitmap | A bitmap to be set to the appearance. |
|
inline |
Set the config of paging seal signature.
[in] | paging_seal_config | A paging seal configuration to be set. |