I: export custom key in a PEM format

View: New views
2 Messages — Rating Filter:   Alert me  

I: export custom key in a PEM format

by denote23@libero.it :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm working with ID-based signature (SHAMIR 84) and I create a c struct
as
below:

struct sign
{
  BIGNUM *s;
  BIGNUM *d;
}

How do I export this private
key into  a file in a PEM format??

Thanks in advance
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@...
Automated List Manager                           majordomo@...

RE: export custom key in a PEM format

by JoelKatz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Denote23@... wrote:

> I'm working with ID-based signature (SHAMIR 84) and I create a c struct
> as
> below:
>
> struct sign
> {
>   BIGNUM *s;
>   BIGNUM *d;
> }
>
> How do I export this private
> key into  a file in a PEM format??

It depends on why you are doing this. You need to match the format that is expected by whatever is going to read this in.

DS



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@...
Automated List Manager                           majordomo@...