Loading DSA PvKey from memory

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

Loading DSA PvKey from memory

by Da Co :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, Cryptopp-users,
 
I have a DSA PvKey sitting in a file which I load using

DSA::Signer signer;

PrivateKey &pvKey = signer.AccessPrivateKey();

pvKey.Load(FileSource(PvKeyFile,

true));

I would like to read the file in a byte array and load the content of byte array into the pvKey.
 
Is this possible?
 
Thanks and regards,
Daneluta

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscribe@....
More information about Crypto++ and this group is available at http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---


Re: Loading DSA PvKey from memory

by Da Co :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Resending.
 
On Fri, May 29, 2009 at 12:48 PM, Da Co <daneluta@...> wrote:
Hi, Cryptopp-users,
 
I have a DSA PvKey sitting in a file which I load using

DSA::Signer signer;

PrivateKey &pvKey = signer.AccessPrivateKey();

pvKey.Load(FileSource(PvKeyFile,

true));

I would like to read the file in a byte array and load the content of byte array into the pvKey.
 
Is this possible?
 
Thanks and regards,
Daneluta


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscribe@....
More information about Crypto++ and this group is available at http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---


Re: Loading DSA PvKey from memory

by Jeffrey Walton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


http://www.cryptopp.com/wiki/Main_Page

On 6/1/09, Da Co <daneluta@...> wrote:

> Resending.
>
> On Fri, May 29, 2009 at 12:48 PM, Da Co <daneluta@...> wrote:
>
> > Hi, Cryptopp-users,
> >
> > [SNIP]
> >
> > I would like to read the file in a byte array and load the content of byte
> array into the pvKey.
> >
> > Is this possible?
> >
> > Thanks and regards,
> > Daneluta
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscribe@....
More information about Crypto++ and this group is available at http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---