<div dir="ltr">Hello Martin,<div><br></div><div>I am not aware of any existing java implementation but I have created C# implementation of PKCS#11 URI Scheme parser/builder [0]. I believe it could be ported to Java without much effort. I can help with the porting if you are interested.</div>
<div><br></div><div>BTW Pkcs11Interop.URI project introduces two new vendor specific attributes [1] which will be in slightly modified form included in the next version of standard draft [2] that should be out in the foreseeable future.</div>
<div><br></div><div>Regards, Jaroslav</div><div><br></div><div>[0] <a href="https://github.com/jariq/Pkcs11Interop.URI">https://github.com/jariq/Pkcs11Interop.URI</a></div><div>[1] <a href="http://www.pkcs11interop.net/extensions/uri/#sec_vendor_attrs">http://www.pkcs11interop.net/extensions/uri/#sec_vendor_attrs</a></div>
<div>[2] <a href="https://datatracker.ietf.org/doc/draft-pechanec-pkcs11uri/">https://datatracker.ietf.org/doc/draft-pechanec-pkcs11uri/</a><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 8, 2014 at 10:27 AM, Martin Paljak <span dir="ltr"><<a href="mailto:martin@martinpaljak.net" target="_blank">martin@martinpaljak.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello,<br>
<br>
In the process of adding HSM-backed keys (read: PKCS#11) support to my<br>
GlobalPlatform utility [1] I became aware of the need to be able to<br>
address modules and keys and this is exactly where PKCS#11 URL should<br>
be useful.<br>
<br>
Is anyone aware of some existing code that does it (stil asking even<br>
if the website [2] does not list any java projects)? What would be the<br>
best reference API to model the Java version after? Ideally it could<br>
be a MIT/BSD style .java file you can just drop into your project and<br>
be done with it.<br>
<br>
<br>
[1] <a href="https://github.com/martinpaljak/GlobalPlatform#upcoming-releases-and-major-new-features" target="_blank">https://github.com/martinpaljak/GlobalPlatform#upcoming-releases-and-major-new-features</a><br>
[2] <a href="http://p11-glue.freedesktop.org/pkcs11-uris.html" target="_blank">http://p11-glue.freedesktop.org/pkcs11-uris.html</a><br>
<span class=""><font color="#888888"><br>
<br>
--<br>
Martin<br>
<a href="tel:%2B372%20515%206495" value="+3725156495">+372 515 6495</a><br>
_______________________________________________<br>
p11-glue mailing list<br>
<a href="mailto:p11-glue@lists.freedesktop.org">p11-glue@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/p11-glue" target="_blank">http://lists.freedesktop.org/mailman/listinfo/p11-glue</a></font></span></blockquote></div></div></div>