Debenu Quick PDF logo

SetSignProcessSubFilter

Security and Signatures

Version history

This function was introduced in Quick PDF Library version 9.14.

Description

Sets the SubFilter entry for a digital signature process, specifying the encoding of the signature value.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetSignProcessSubFilter(SignProcessID, 
  SubFilter: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetSignProcessSubFilter(
  SignProcessID As Long, SubFilter As Long) As Long

DLL

int DPLSetSignProcessSubFilter(int InstanceID, int SignProcessID, int SubFilter)

Parameters

SignProcessID A value returned by the NewSignProcessFromFile, NewSignProcessFromStream or NewSignProcessFromString functions.
SubFilter 1 = adbe.pkcs7.sha1
2 = adbe.pkcs7.detached with SHA-1
3 = adbe.pkcs7.detached with SHA-256
4 = adbe.pkcs7.detached with SHA-384
5 = adbe.pkcs7.detached with SHA-512

Return values

0 The SignProcessID parameter was invalid or the SubFilter parameter was out of range
1 Success

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport