p7s / p7m Signature File Generation

Once Aloaha is installed it is possible with just a right click to create for any filetype p7m or p7s signature files. The APIs used to generate those files are public and are explained below.

PKCS7 Signatures can also created via the shell context. Please click here to see a flash movie.


Object aloahacsp.PKCS7

To be able to use the PKCS #7 functions you need to create first the Aloaha PKCS7 Object. In VBS it can be done for example with the commands:

dim PKCS7
set PKCS7 = CreateObject("aloahacsp.PKCS7")


create_P7x

This function creates automatically the p7m / p7s files. The filename will be created automatically from the original filename.

VBS example:

dim PKCS7
dim result

dim tobesigned
dim uniquecontainername
dim attached
dim overwrite

set PKCS7 = CreateObject("aloahacsp.PKCS7")

'defines the certificate to be used
'in case uniquecontainername is not known it is also possible to use the Hash/Fingerprint of the certificate to be used.
'in case an Aloaha supported smart card is used the value can be also a value between 0 for the first reader to 9 for the last reader.
uniquecontainername="23434_234234"

attached = true  ' defines if p7m or p7s

overwrite = true ' will overwrite an existing result file

'result will contain the resulting filepath
'empty result means error

result = PKCS7.create_P7x(cstr(tobesigned), cstr(UniqueContainerName), cbool(attached),cbool(overwrite)) 


set PKCS7 = nothing


validate_P7x

This function validates p7m / p7s files.

VB6 example:

dim PKCS7 as object
dim result as variant   ' will contain the original file
dim filename as string
dim showcert as boolean
dim CertifciateB64 as Variant 'will contain the signers certificate

set PKCS7 = createobject("aloahacsp.PKCS7")

filename = "c:\letter.doc.p7m"
showcert = true ' instructs the API to display the signing  Certificate


result = PKCS7.validate_P7x(cstr(filename), cbool(showcert), CertifciateB64)

set PKCS7 = nothing


Licensing

Depending on the certificate used for signing a valid Aloaha CSP license might be required for these APIs. In case a software certificate is used these APIs are free to be used.


Please ask...

Although we really tried hard, there are always questions left open. But perhaps somebody else had already put the same question?
Please check!
  • Hello,

    I have some crypted p7m files, I want a program to read and modify these types of files.

    there an example:

    -----BEGIN PKCS7-----
    MIIcAwYJKoZIhvcNAQcCoIIb9DCCG/ACAQExCzAJBgUrDgMCGgUAMIIPGwYJKoZI
    hvcNAQcBoIIPDASCDwg8P3htbCB2Z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QQBgdgkAgEBMRITEDAwMDAwMDAwMDAwMjkzOTMwIwYJKoZIhvcNAQkEMRYE
    FGPPU/WqhF9i5gjez1Aht6ATfrrzMA0GCSqGSIb3DQEBAQUABIGAsTnRVoFYjFbs
    HUiHIe7lmRRbLGd2HYk6dsy0Yvg45ul3ETi3mDUq48uBalieTzn84nnmMPr4hBHr
    JbswSzYLX0DcYaGNqnv38gcVGlkvPjU7cFUuXV+bJEj+/e5Zjz4UbNKOU8bf8PI6
    OF6s9Y0KR/4Q3884lpRjs/iU48Pi0SU=
    -----END PKCS7-----

    http://blog.aloaha.com/2013/02/21/easy-pkcs-7cms-signatures-with-aloaha-cms-signer/
    Answered 25.02.2013
  • hello i need to sign .txt file and shall then converet in to .p7m extention, i am from india, please let me know what all software / certificates/ electronic signature i need and from where can i get it
If not, please do not hesitate to send us your question.
We would be glad to answer it.
PDF SDKPDF Form Saver SDKSmart Card APIAloaha CSP APIAPIs and samplesPin Pad Notifier Pluginp7m / p7s CreationCDO to S/MimeCreate S/Mime PKCS7Create / Validate PKCS #7Create CMS (PKCS #7)Show Card CertificatesADPU TesterSmart Card TesterTimestamp PKCS7 SignatureDES EncryptionHash DataXML HelperEnumerate Card ReaderMifareAloaha Web ServicesAloaha Print MonitorAloaha Remote ConfigurationWebDAVLDAP ClientProgramming Office MacrosIIS Event Sinks