CryptoPermssion object missing?

Jay Kline slushpupie at gmail.com
Tue Apr 8 12:23:13 PDT 2008


Im trying to figure out how to check what the permissions of the JCE
allow at runtime and have run into a bit of a stumbling block.  The
policy file uses javax.crypto.CryptoPermission as the permission name,
and from what I can tell in the JCE for 1.4 that existed as an object,
and it appears to be in the openjdk for 6 and 7.  However, the Sun JDK
has no such object (either 5 or 6).

What is the correct way to check for these permissions then? Its a
little confusing since I cant seem to determine if that object should
really exist.

Thanks,

Jay



More information about the jdk6-dev mailing list