login about faq
0
1

Can i extract multiple certificate from p7m? I've a multi signed p7m file and this is a piece of code i use :

var CryptEngine = new Crypt2();
CryptEngine.CryptAlgorithm = "pki";
Chilkat.Cert cert = new Cert();
cert.LoadFromBinary(fileData);

fileData is the p7m byte array. I successful get all the info about one certificate but can't get the other certificate data.

Any idea?

asked May 05 '15 at 11:15

2GDev's gravatar image

2GDev
311


Thanks. Chilkat v9.5.0.49 has a new Pem class that can do it. Here's an example for loading from a .p7b file. There is also a LoadP7b method to load directly from in-memory p7b data.

I can provide a pre-release download if I know what programming language/operating system you need..

Android: Load P7B and List Certificates

C: Load P7B and List Certificates

C#: Load P7B and List Certificates

C# WinRT: Load P7B and List Certificates

C++: Load P7B and List Certificates

Classic ASP: Load P7B and List Certificates

DataFlex: Load P7B and List Certificates

Delphi ActiveX: Load P7B and List Certificates

Delphi DLL: Load P7B and List Certificates

Java: Load P7B and List Certificates

Lianja: Load P7B and List Certificates

MFC: Load P7B and List Certificates

Objective-C: Load P7B and List Certificates

Perl: Load P7B and List Certificates

PHP ActiveX: Load P7B and List Certificates

PHP Extension: Load P7B and List Certificates

PowerBuilder: Load P7B and List Certificates

PowerShell: Load P7B and List Certificates

PureBasic: Load P7B and List Certificates

Python: Load P7B and List Certificates

Ruby: Load P7B and List Certificates

SQL Server: Load P7B and List Certificates

Swift: Load P7B and List Certificates

Unicode C: Load P7B and List Certificates

Unicode C++: Load P7B and List Certificates

VB.NET: Load P7B and List Certificates

VB.NET WinRT: Load P7B and List Certificates

VBScript: Load P7B and List Certificates

Visual Basic 6.0: Load P7B and List Certificates

Visual FoxPro: Load P7B and List Certificates

link

answered May 06 '15 at 08:37

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

I'm using .NET with C# on Visual Studio 2013. I've purchased a license last year for Chilkat v9.5.0.45 ... i can upgrade with same license?

(May 06 '15 at 08:49) 2GDev

Thanks! Contact me in private email (support@chilkatsoft.com). If you already purchased the bundle, then you're already licensed (assuming it was within 1 year ago). There are still a few features being added to the Pem class, and even after released it will be far from complete because there are many more content types that can be contained within PEM. --Matt

(May 06 '15 at 09:01) chilkat ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×98
×48
×5

Asked: May 05 '15 at 11:15

Seen: 2,926 times

Last updated: May 06 '15 at 09:01

powered by OSQA