diff options
Diffstat (limited to 'pipermail/pycrypto/attachments/20101229/88717e2e/attachment.htm')
-rw-r--r-- | pipermail/pycrypto/attachments/20101229/88717e2e/attachment.htm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pipermail/pycrypto/attachments/20101229/88717e2e/attachment.htm b/pipermail/pycrypto/attachments/20101229/88717e2e/attachment.htm new file mode 100644 index 0000000..7b11e73 --- /dev/null +++ b/pipermail/pycrypto/attachments/20101229/88717e2e/attachment.htm @@ -0,0 +1,12 @@ +<tt> +Hi All,<div><br></div><div>I have a Private key and Public Key which comes in an XML in the following form.</div><div><br></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;RSASK&gt;-----BEGIN RSA PRIVATE KEY----- MIIBOgIBAAJBALWmf82Fh6TUrzE5TV7BoLdamFWd/nGFzSNLtYsncENI07X47XKC G/YDRZeRcWKq+6P1pbM9ejgjXF72FCZZbL8CAQMCQHkZqokDr8M4dMt7iOnWayTn EDkT/vZZM2zdI7IaSteEwnbsIYjcAIkD0m3E2vZA9oNcjwEQ19ZXjyAhh+Y7B3sC IQDkhKYQUGPErXMsxhRDXlvpBzjPq7pGCTaY3th2KszAOwIhAMt+8KrU1FZ7Cl0s 1eWS7aDXsf+F6fBtaWzP61IiNCFNAiEAmFhutYrtLcj3cy64LOmSm1ol38fRhAYk ZenlpByIgCcCIQCHqfXHOI2O/LGTczlDt0kV5SFVA/FK85ud3/I2wXgWMwIhAMXy zk5RMjE25Y+PFyevn4j1nWme6cvbv49g1OCZkZxE -----END RSA PRIVATE KEY-----&lt;/RSASK&gt;</font></div><br> +<br> +<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;RSAPUBK&gt;-----BEGIN PUBLIC KEY----- MFowDQYJKoZIhvcNAQEBBQADSQAwRgJBALWmf82Fh6TUrzE5TV7BoLdamFWd/nGF zSNLtYsncENI07X47XKCG/YDRZeRcWKq+6P1pbM9ejgjXF72FCZZbL8CAQM= -----END PUBLIC KEY-----&lt;/RSAPUBK&gt; </font></div><br> +<br> +</div><div><br></div><div>I need to use the &quot;Private Key&quot; above and transform a stream of text into a &quot;Digital Signature (DER Encoded PKCS#1)&quot; utilizing the &quot;Private Key&quot;.</div><div><br></div><br> +<br> +<div>Could you please let me know how I could use Crypto to meet this requirement. Appreciate if you could help me with a simple code snippet.</div><div><br></div><div>Thanks for your help on this.</div><div><br></div><div><br> +<br> +Regards,</div><div>Anurag</div><br> + +</tt> |