static { try { AccessController.doPrivileged( new PrivilegedExceptionAction<Object>() { public Object run() throws Exception { setupJurisdictionPolicies(); return null; } }); isRestricted = defaultPolicy.implies(CryptoAllPermission.INSTANCE) ? false : true; } catch (Exception e) { throw new SecurityException("Can not initialize cryptographic mechanism", e); } }