|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Newby question on digital signatureHi, I need to digitally sign an XML document. I already hashed the string to
be signed, but my problem is the private key is provided to my user in a "*.key" file (PKCS8), so my question is: how should I extract the private key from the file, in order to create the instance of the system.security.cryptography.rsa ? Thanks in advance. Is that an *unencrypted PKCS#8 PrivateKeyInfo or is it
an ENcrypted PKCS#8 EncryptedPrivateKeyInfo ?? Better, how was it generated? - Mitch Gallant JavaScience Consulting www.jensign.com Show quoteHide quote "Ruben" <Ru***@discussions.microsoft.com> wrote in message news:B7DEA692-326F-4D6A-B539-5BD0953DA852@microsoft.com... > Hi, I need to digitally sign an XML document. I already hashed the string to > be signed, but my problem is the private key is provided to my user in a > "*.key" file (PKCS8), so my question is: how should I extract the private key > from the file, in order to create the instance of the > system.security.cryptography.rsa ? > > Thanks in advance. It's not encripted
Show quoteHide quote "Mitch Gallant" wrote: > Is that an *unencrypted PKCS#8 PrivateKeyInfo or is it > an ENcrypted PKCS#8 EncryptedPrivateKeyInfo ?? > Better, how was it generated? > > - Mitch Gallant > JavaScience Consulting > www.jensign.com > > "Ruben" <Ru***@discussions.microsoft.com> wrote in message news:B7DEA692-326F-4D6A-B539-5BD0953DA852@microsoft.com... > > Hi, I need to digitally sign an XML document. I already hashed the string to > > be signed, but my problem is the private key is provided to my user in a > > "*.key" file (PKCS8), so my question is: how should I extract the private key > > from the file, in order to create the instance of the > > system.security.cryptography.rsa ? > > > > Thanks in advance. > > > |
|||||||||||||||||||||||