I am very new in programming. I need to sign PDF document, the user have more than 1 certificate (I have UserName, password, ID of specific certificate , Serial of specific certificate )
I am trying to understand, the order of methods i need to use and which methods i need to use.
Is it need to be like this?
1.Initialize SAPI Library : SAPIInit
2.Acquire SAPI session handle: SAPIHandleAcquire(SESHandle)
3.Personalize SAPI Session : SAPILogon(SESHandle, username, domain, password)
SAPIConfigurationValueSet
SAPISignatureFieldCreateSign(SESHandle, fileType, filePath, SFS, flags, "")
SAPILogoff(SESHandle)
SAPIHandleRelease(SESHandle)