<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
The PCCERT_CONTEXT contains a direct pointer to the DER formatted
certificate. You can use that as input for type
xmlSecKeyDataFormatCertDer. That will also make the public key it
contains avaible.<br>
<br>
Wouter<br>
<br>
<br>
Yeshwanth C wrote:
<blockquote
cite="midbf2ffe850612172355t1823bc00u463791c3d7a4c74@mail.gmail.com"
type="cite">
<div>typedef struct _CRYPT_BIT_BLOB {<br>
DWORD <a class="synParam" onclick="showTip(this)" href=""><font
color="#800080">cbData</font></a>;<br>
BYTE* <a class="synParam" onclick="showTip(this)" href=""><font
color="#800080">
pbData</font></a>;<br>
DWORD <a class="synParam" onclick="showTip(this)" href=""><font
color="#800080">cUnusedBits</font></a>;<br>
} CRYPT_BIT_BLOB, <br>
*PCRYPT_BIT_BLOB;</div>
<div>Thisis one of the structures that gives u the public key</div>
<div>The public key is in pbData.</div>
<div>-yesh<br>
<br>
</div>
<div><span class="gmail_quote">On 12/18/06, <b
class="gmail_sendername">Aleksey Sanin</b> <<a
href="mailto:aleksey@aleksey.com">aleksey@aleksey.com</a>> wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">What
is the binary format you get from MS API?<br>
<br>
Aleksey<br>
<br>
</blockquote>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
xmlsec mailing list
<a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>
<a class="moz-txt-link-freetext" href="http://www.aleksey.com/mailman/listinfo/xmlsec">http://www.aleksey.com/mailman/listinfo/xmlsec</a>
</pre>
</blockquote>
<br>
</body>
</html>