PKCS#11 URL parser for Java

Jaroslav Imrich jaroslav.imrich at
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


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

> 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]
> [2]
> --
> Martin
> +372 515 6495
> _______________________________________________
> p11-glue mailing list
> p11-glue at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the p11-glue mailing list