----- Original Message -----
From: "Dr S N Henson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
> Joseph Ashwood wrote:
> > Does anyone have some code onhand that will take a PKCS 12 file, lookup
a
> > known name, grab a DSA key and hand it back?
[snip most of what I said]
> > Alternately, does anyone know where in the which file the openssl pkcs12
> > takes care of such things?
>
> The PKCS#12 standard does support public key storage other than as part
> of a certificate.

That's as expected.

>
> The current code extracts the private key and calculates the public key
> from it.

I'm not using much of the current code, I'm even generating my own prime
fields/

> Do you specifically need more than one private key in a PKCS#12 file? If
> not and you have a corresponding certificate then PKCS_create() and
> PKCS12_parse() may be of use.

I'll look into it.

> Otherwise you'll generate and pull apart
> the files manually using like the pkcs12 utility currently does.

That's what I was hoping to avoid. But I'll subject myself to it if I have
to.
                        Joe

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to