PKCS#11 URL parser for Java

Jaroslav Imrich jaroslav.imrich at gmail.com
Tue Jul 8 01:57:49 PDT 2014


Hello Martin,

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.

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.

Regards, Jaroslav

[0] https://github.com/jariq/Pkcs11Interop.URI
[1] http://www.pkcs11interop.net/extensions/uri/#sec_vendor_attrs
[2] https://datatracker.ietf.org/doc/draft-pechanec-pkcs11uri/


On Tue, Jul 8, 2014 at 10:27 AM, Martin Paljak <martin at martinpaljak.net>
wrote:

> Hello,
>
> In the process of adding HSM-backed keys (read: PKCS#11) support to my
> GlobalPlatform utility [1] I became aware of the need to be able to
> address modules and keys and this is exactly where PKCS#11 URL should
> be useful.
>
> Is anyone aware of some existing code that does it (stil asking even
> if the website [2] does not list any java projects)? What would be the
> best reference API to model the Java version after? Ideally it could
> be a MIT/BSD style .java file you can just drop into your project and
> be done with it.
>
>
> [1]
> https://github.com/martinpaljak/GlobalPlatform#upcoming-releases-and-major-new-features
> [2] http://p11-glue.freedesktop.org/pkcs11-uris.html
>
>
> --
> Martin
> +372 515 6495
> _______________________________________________
> p11-glue mailing list
> p11-glue at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/p11-glue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/p11-glue/attachments/20140708/86b2fc9f/attachment.html>


More information about the p11-glue mailing list