Class SigningData
This is used with the signing process, passing the current document hash and file contents to be signed to the event handler and for passing the PKCS7Container back.
Inheritance
System.Object
SigningData
Namespace: PSPDFKit.DigitalSignatures
Assembly: PSPDFKit.dll
Syntax
public sealed class SigningData
Properties
Certificate
The certificate used to sign the document.
Declaration
public IBuffer Certificate { get; }
Property Value
Type | Description |
---|---|
Windows.Storage.Streams.IBuffer |
FileContents
The data that will have it's hash signed.
Declaration
public IInputStream FileContents { get; }
Property Value
Type | Description |
---|---|
Windows.Storage.Streams.IInputStream |
Hash
Hash of the data to be signed.
Declaration
public string Hash { get; }
Property Value
Type | Description |
---|---|
System.String |
HashAlgorithm
The hash algorithm to be used to generate the document digest.
Declaration
public HashAlgorithm HashAlgorithm { get; }
Property Value
Type | Description |
---|---|
HashAlgorithm |
Pkcs7Container
PKCS7 container that will be used to sign the document.
Declaration
public IBuffer Pkcs7Container { get; set; }
Property Value
Type | Description |
---|---|
Windows.Storage.Streams.IBuffer |
PrivateKey
The private key used to sign the document.
Declaration
public IBuffer PrivateKey { get; }
Property Value
Type | Description |
---|---|
Windows.Storage.Streams.IBuffer |