[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.IPkcs7SignatureGenerator

Interface IPkcs7SignatureGenerator

Namespace
GrapeCity.Documents.Pdf
Assembly
GcDocs.Pdf.dll

Defines properties and methods that are used to sign the attribute set in a PKCS#7 signature.

public interface IPkcs7SignatureGenerator

Properties

DigestEncryptionAlgorithm

Gets the ID of the encryption algorithm used by this IPkcs7SignatureGenerator.

OID DigestEncryptionAlgorithm { get; }

Property Value

OID

HashAlgorithm

Gets the ID of the hash algorithm used by this IPkcs7SignatureGenerator.

OID HashAlgorithm { get; }

Property Value

OID

Methods

SignData(byte[])

Signs the given message.

byte[] SignData(byte[] digest)

Parameters

digest byte[]

The message to sign.

Returns

byte[]

The signature binary data.