Importing Public Key's raw constants

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

Importing Public Key's raw constants

by Crypt lib :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have RSA public key's; M and E, or DSA public key's; P, Q and G, via arbitrary transport from owner.

How do I import these values into a Cryptlib public key context for public key encryption?

I'd prefer not to create a temp cert file, or ASCII armor/PEM, for import.
I'd prefer some direct stuffing method not involving exchange of data using a drive.

TIA

_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

Re: Importing Public Key's raw constants

by Peter Gutmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Crypt lib" <cryptlib@...> writes:

>I have RSA public key's; M and E, or DSA public key's; P, Q and G, via
>arbitrary transport from owner.
>
>How do I import these values into a Cryptlib public key context for public
>key encryption?

See "Loading Public/Private Keys" in the manual.

Peter.

_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.