1 |
// To use BouncyCastle with Java Web Start it needs certain permissions. |
// To use BouncyCastle with Java Web Start it needs certain permissions. |
2 |
// Either <all-permissions/> can be put in BouncyCastle's security, or this |
// Either <all-permissions/> can be put in BouncyCastle's security, or this |
3 |
// file can referenced from property java.security.policy, which avoids |
// file can be referenced from property java.security.policy, which avoids |
4 |
// a permission prompt for the BouncyCastle extension. Note that for the |
// a permission prompt for the BouncyCastle extension (in addition to the |
5 |
// latter this file should be referenced with a full path which is not |
// permission prompt for the application itself). Note that for the latter |
6 |
// inside a jar but on the webserver. |
// this file should be referenced with a full path which is not inside a jar |
7 |
|
// but on the webserver. |
8 |
grant { |
grant { |
9 |
// allow BouncyCastle to register itself |
// allow BouncyCastle to register itself |
10 |
permission java.security.SecurityPermission "Security.insertProvider.BC"; |
permission java.security.SecurityPermission "Security.insertProvider.BC"; |