Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Security / March 2007

Tip: Looking for answers? Try searching our database.

Creating a PKCS#7 from a PKCS#1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gherme - 17 Mar 2007 18:59 GMT
Hi,
Could anyone tell me if it's possible to create a PKCS#7 from a
previously generated PKCS#1,  using a keypair ( the PrivateKey) and
the CryptoAPI? Or is this a bad aproach to the rigth way to get a
PKCS#7 using just the KeyPair (without certificate) and CryptoAPI?

I'm in the way to begin to use CryptSignMessage, but at the time I'm
already able to create the PKCS#1 and I wouldlike to know if there is
any chance to use that PKCS#1 result.

Regards.
Valery Pryamikov - 19 Mar 2007 10:18 GMT
> Hi,
> Could anyone tell me if it's possible to create a PKCS#7 from a
[quoted text clipped - 7 lines]
>
> Regards.

Hi,
What do you mean? PKCS#1 specifies RSA encryption and format of keys.
PKCS#7 is description of general cryptographic messages (specifies how
you can envelope and sign data).
Even so both are ASN1 DER encoded buffers, but I don't see any
relation between keys format (PKCS#1) and message format (PKCS#7).

-Valery.
http://www.harper.no/valery

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.