C# 클래스 PdfRpt.FluentInterface.SignedFileBuilder

digital signature's info builder class.
파일 보기 프로젝트 열기: VahidN/PdfReport 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
SignedFileBuilder ( PdfReport pdfReport ) : PdfRpt.Core.Contracts

ctor.

SigningInfo ( string reason, string contact, string location ) : void

Sets the signing related info.

VisibleSignature ( string text, bool useLastPageToShowSignature, iTextSharp position, PdfRunDirection runDirection, int pageNumberToShowSignature = 1, string imagePath = null ) : void

Sets VisibleSignature's info. It can be null.

WithCertificateFile ( bool appendSignature, string pfxPassword, string pfxPath ) : void

Sets the CertificateFile's info.

WithTsaClient ( string url, string userName, string password ) : void

Timestamp Authority Client's info. It can be null.

메소드 상세

SignedFileBuilder() 공개 메소드

ctor.
public SignedFileBuilder ( PdfReport pdfReport ) : PdfRpt.Core.Contracts
pdfReport PdfReport
리턴 PdfRpt.Core.Contracts

SigningInfo() 공개 메소드

Sets the signing related info.
public SigningInfo ( string reason, string contact, string location ) : void
reason string Sets the signing reason
contact string Sets the signing contact
location string Sets the signing location
리턴 void

VisibleSignature() 공개 메소드

Sets VisibleSignature's info. It can be null.
public VisibleSignature ( string text, bool useLastPageToShowSignature, iTextSharp position, PdfRunDirection runDirection, int pageNumberToShowSignature = 1, string imagePath = null ) : void
text string Sets the signature text identifying the signer.
useLastPageToShowSignature bool If it sets to true, value of the Page property will be ignored.
position iTextSharp Position and dimension of the field in the page.
runDirection PdfRunDirection Possible run direction values, left-to-right or right-to-left
pageNumberToShowSignature int The page to place the field. The fist page is 1.
imagePath string Signature's image. It can be null.
리턴 void

WithCertificateFile() 공개 메소드

Sets the CertificateFile's info.
public WithCertificateFile ( bool appendSignature, string pfxPassword, string pfxPath ) : void
appendSignature bool If sets to true the signature and all the other content will be added as a new revision thus not invalidating existing signatures. Set it to true if you don't want to lose the EncryptionOptions.
pfxPassword string Certificate file's password
pfxPath string Certificate file's path
리턴 void

WithTsaClient() 공개 메소드

Timestamp Authority Client's info. It can be null.
public WithTsaClient ( string url, string userName, string password ) : void
url string URL of the Time Stamp Authority
userName string TSA Username
password string TSA password
리턴 void