EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Need clarification on code in AS2 sample

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
Posted: 09/20/2013 12:04:39
by Katit (Basic support level)
Joined: 09/19/2013
Posts: 14

In order to open AS2 message I specify Encription and Signature cert storate. Then I pass in raw message (stream) and get back decrypted message along with object filled with properties. All is well.

In Receiver sample there is line of code which I don't understand. My code runs without but I need to understand:

message.Signature.VerificationOptions |= SBMessages.__Global.voUseLocalCerts;
Posted: 09/20/2013 12:10:46
by Eugene Mayevski (EldoS Corp.)

SBMessages is a namespace. __Global is a pseudoclass. voUseLocalCerts option is flag to include to VerificationOptions.

The flag tells the component to make use of CertStorage property when searching for signer certificate during PKCS#7/CMS message verification.

Sincerely yours
Eugene Mayevski



Topic viewed 268 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!