Trying to find the difference between the method of Signing the document between X509 Sign action and Cryptobin operation PKCS#7 Sign operation.
As X509 for XML's and PKCS#7 is for binary documents, have question below:
1) Does PKCS#7 Sign also creates a digest value of binary document and the same can be used Under PKCS#7 verify to compare the digest value?
2) I do not see any RSA/3DES etc alogorithms under PKCS#7 sign action ? so that does means there is no digest value creation and matching logic etc..
3) If both X509 Sign action and Cryptobin PKCS#7 sign does the same thing, for PKCS#7 under debug logs I was not able to see the digest matching logic ?
4) Which algorithm Cryptobin PKCS#7 Sign uses ?
Appreciate your suggestions and inputs for the above questions ?