EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Multiple AS2 Encryption certificates in TEIMemoryCertStorage

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#33659
Posted: 06/13/2015 05:21:01
by Geoffrey Crombez (Standard support level)
Joined: 01/09/2015
Posts: 4

Hi,

I have written an AS2 service to send to multiple partners using your software.
I need to send to multiple partners. For the signature we use our private key, so there is only 1 certificate loaded in that store = ok.
But for the encryption, I have multiple certificates loaded in the store (since I have multiple partners). I just link the TEIMemoryCertStorage object to the message:
as2Message.Encryption.CertStorage = _CertStoragePartnerKey;
How does the library recognizes which certificate to pick?

Kind Regards
Geoffrey
#33662
Posted: 06/13/2015 11:17:41
by Alexander Ionov (EldoS Corp.)

Thank you very much for the question.

The library doesn't pick a certificate. It just encrypts the data for all the certificates available in the storage. I.e. the encrypted message can be decrypted with a private key that belongs to ANY certificate which was in the storage on message encryption.


--
Best regards,
Alexander Ionov

Reply

Statistics

Topic viewed 293 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!