PdfFileSignature.Certify

Certify(int, string, string, string, bool, Rectangle, DocMDPSignature)

Certify the document with the MDP signature. Such data as signature reason, contact and location must be provided by corresponding properties of the Signature object sig.

public void Certify(int page, string SigReason, string SigContact, string SigLocation, 
    bool visible, Rectangle annotRect, DocMDPSignature docMdpSignature)
ParameterTypeDescription
pageInt32The page on which signature is made.
SigReasonStringThe reason of signature.
SigContactStringThe contact of signature.
SigLocationStringThe location of signature.
visibleBooleanThe visiblity of signature.
annotRectRectangleThe rect of signature.
docMdpSignatureDocMDPSignatureThe document MDP type of the signature.

See Also


Certify(string, DocMDPSignature)

Certify the document with the MDP signature which is placed in already presented signature field. Before signing signature field must be empty, i.e. field must not contain signature dictionary. Thus pdf document already has signature field, you should not supply the place to stamp the signature, corresponding page and rectangle are taken from signature field which is found by signature name (see sigName parameter).

public void Certify(string sigName, DocMDPSignature docMdpSignature)
ParameterTypeDescription
sigNameStringThe name of the signature field.
docMdpSignatureDocMDPSignatureThe type of the signature, could be PKCS1, PKCS7 and PKCS7Detached

See Also