Class SignOptions

情報

Documentize.PdfSecurity コンポーネントの署名オプションを表します。

public sealed class SignOptions : OptionsWithInputAndOutput, IHaveInput

Inheritance

objectOptionsWithInputOptionsWithInputAndOutputSignOptions

Implements

Inherited Members

Constructors

SignOptions(Stream, string)

Documentize.SignOptions オブジェクトの新しいインスタンスを初期化し、pfx ストリームとパスワードを設定します。

public SignOptions(Stream pfx, string password)

Parameters

  • pfx Stream: pfx ファイルを含むストリーム。
  • password string: pfx ファイルのパスワード。

SignOptions(string, string)

Documentize.SignOptions オブジェクトの新しいインスタンスを初期化し、pfx ファイルとパスワードを設定します。

public SignOptions(string pfx, string password)

Parameters

  • pfx string: pfx ファイルへのパス。
  • password string: pfx ファイルのパスワード。

SignOptions(IData, IData, IData, string)

Documentize.SignOptions オブジェクトの新しいインスタンスを初期化し、入力、出力、pfx データおよびパスワードを設定します。

public SignOptions(IData inputData, IData outputData, IData pfxData, string password)

Parameters

  • inputData IData: 入力データ。
  • outputData IData: 出力データ。
  • pfxData IData: pfx データ。
  • password string: pfx のパスワード。

SignOptions(string, string, string, string)

Documentize.SignOptions オブジェクトの新しいインスタンスを初期化し、入力、出力、pfx ファイルおよびパスワードを設定します。

public SignOptions(string inputFile, string outputFile, string pfxFile, string pfxPassword)

Parameters

  • inputFile string: 入力ファイルのパス。
  • outputFile string: 出力ファイルのパス。
  • pfxFile string: pfx ファイルへのパス。
  • pfxPassword string: pfx のパスワード。

SignOptions(Stream, Stream, Stream, string)

Documentize.SignOptions オブジェクトの新しいインスタンスを初期化し、入力、出力、pfx ストリームとパスワードを設定します。

public SignOptions(Stream inputStream, Stream outputStream, Stream pfxStream, string pfxPassword)

Parameters

  • inputStream Stream: 入力ファイルのストリーム。
  • outputStream Stream: 出力ファイルのストリーム。
  • pfxStream Stream: pfx ストリーム。
  • pfxPassword string: pfx のパスワード。

SignOptions(TimestampOptions)

Documentize.SignOptions オブジェクトの新しいインスタンスを初期化し、タイムスタンプを設定します。
タイムスタンプは、別個の署名としてドキュメントに設定できます。

public SignOptions(TimestampOptions timestampOptions)

Parameters

  • timestampOptions TimestampOptions: 証明書を提供せずにタイムスタンプ署名を作成するために使用されるタイムスタンプオプション。

Properties

Contact

署名の連絡先情報。

public string Contact { get; set; }

Property Value

string

Input

入力データを取得または設定します。

public override IData Input { get; set; }

Property Value

IData

Location

署名の場所。

public string Location { get; set; }

Property Value

string

Name

既存の署名フィールドの名前。
新しいフィールドを作成する場合は null を指定します。

public string Name { get; set; }

Property Value

string

Output

出力データを取得または設定します。

public override IData Output { get; set; }

Property Value

IData

PageNumber

署名を行うページ番号。

public int PageNumber { get; set; }

Property Value

int

Pfx

PFX データを含むストリーム。

public Stream Pfx { get; set; }

Property Value

Stream

PfxPassword

Documentize.SignOptions.Pfx のパスワード。

public string PfxPassword { get; set; }

Property Value

string

Reason

署名の理由。

public string Reason { get; set; }

Property Value

string

Rectangle

署名の矩形領域。

public Rectangle Rectangle { get; set; }

Property Value

Rectangle

TimestampOptions

タイムスタンプオプション。
証明書を提供せずにタイムスタンプ署名を作成するために使用されます。
このプロパティが設定され、かつ Documentize.SignOptions コンストラクタに証明書が提供された場合、デジタル署名は埋め込みタイムスタンプでタイムスタンプされます。
このプロパティが設定されているがコンストラクタに証明書が提供されていない場合、タイムスタンプは別個の署名として追加されます。

public TimestampOptions TimestampOptions { get; set; }

Property Value

TimestampOptions

Visible

署名の可視性。
デフォルトは true

public bool Visible { get; set; }

Property Value

bool

Namespace: Documentize
Assembly: Documentize.dll

 日本語