孙 金龙 wrote:
> thanks! i only want to read ec privatekey
> my ec privatekey is below
> -BEGIN EC PRIVATE KEY-
> MGACAQEEGAu0lmj+Fgurl8m7Tpwi4+wZk9GRSgdyjKALBgkqgRzXYwEBAgGhNAMy
> AQS0/wY++sZk+W3QERcmJ+5m1l+PKkaFhJelGBfWaDN4vmSZg7ltf8YtRaUVvyaS
> m1I=
> -END EC PRIVATE KEY-
> so i use
quot;Rajeshwar Singh Jenwar" <[EMAIL PROTECTED]>
Reply-To: openssl-users@openssl.org
To: openssl-users@openssl.org
Subject: Re: i am confused in PEM_read_PrivateKey
Date: Wed, 14 Jun 2006 09:49:04 +0530
Hi Girish,
Can u explain how d2i is indeed getting resolve to
d2i_RSAPrivateKey() ?
Hi Girish,
Can u explain how d2i is indeed getting resolve to d2i_RSAPrivateKey() ?
RSJ
On 6/13/06, Girish Venkatachalam <[EMAIL PROTECTED]> wrote:
Sorry I was wrong. d2i indeed resolves tod2i_RSAPrivateKey() which takes 3 parameters andpasses the first type parameter to d2i_PrivateKey()
which
o: openssl-users@openssl.org
Subject: Re: i am confused in PEM_read_PrivateKey
Date: Tue, 13 Jun 2006 19:31:57 +0200
On Tue, Jun 13, 2006, ?? wrote:
> when i use PEM_read_PrivateKey find it work error ,so i look into
> PEM_read_PrivateKey to find the reason.
Printing out the error
On Tue, Jun 13, 2006, ?? wrote:
> when i use PEM_read_PrivateKey find it work error ,so i look into
> PEM_read_PrivateKey to find the reason.
Printing out the error code in human readable form might help more (see FAQ)
assuming you haven't done that already.
Steve.
--
Dr Stephen N. Henson.
On Tue, Jun 13, 2006, ?? wrote:
> when i use PEM_read_PrivateKey find it work error ,so i look into
> PEM_read_PrivateKey to find the reason.
> first i find in
> #define PEM_read_PrivateKey(fp,x,cb,u) (EVP_PKEY *)PEM_ASN1_read( \
> (char *(*)())d2i_PrivateKey,PEM_STRING_EVP_PKEY,
On Tue, 13 Jun 2006, Girish Venkatachalam wrote:
> Sorry I was wrong. d2i indeed resolves to
> d2i_RSAPrivateKey() which takes 3 parameters and
> passes the first type parameter to d2i_PrivateKey()
> which takes 4 parameters.
>
> But it beats me why I cannot find the definition of
> d2i_RSAPriva
Sorry I was wrong. d2i indeed resolves to
d2i_RSAPrivateKey() which takes 3 parameters and
passes the first type parameter to d2i_PrivateKey()
which takes 4 parameters.
But it beats me why I cannot find the definition of
d2i_RSAPrivateKey() anywhere.
--- Rajeshwar Singh Jenwar <[EMAIL PROTECTED]
how come ? plz explain.
On 6/13/06, Girish Venkatachalam <[EMAIL PROTECTED]> wrote:
bcoz d2i resolves to d2i_X509() , not tod2i_PrivateKey--- �� <
[EMAIL PROTECTED]> wrote:> when i use PEM_read_PrivateKey find it work error> ,so i look into> PEM_read_PrivateKey to find the reason.> first i fin
bcoz d2i resolves to d2i_X509() , not to
d2i_PrivateKey
--- �� ���� <[EMAIL PROTECTED]> wrote:
> when i use PEM_read_PrivateKey find it work error
> ,so i look into
> PEM_read_PrivateKey to find the reason.
> first i find in
> #define PEM_read_PrivateKey(fp,x,cb,u) (EVP_PKEY
>
when i use PEM_read_PrivateKey find it work error ,so i look into
PEM_read_PrivateKey to find the reason.
first i find in
#define PEM_read_PrivateKey(fp,x,cb,u) (EVP_PKEY *)PEM_ASN1_read( \
(char *(*)())d2i_PrivateKey,PEM_STRING_EVP_PKEY,fp,(char **)x,cb,u)
next i find in
void *PEM_ASN1_r
11 matches
Mail list logo