Path: blob/master/src/java.base/share/conf/security/policy/README.txt
41152 views
1Java(TM) Cryptography Extension Policy Files2for the Java(TM) Platform, Standard Edition Runtime Environment34README5------------------------------------------------------------------------67Import and export control rules on cryptographic software vary from8country to country. The Java Cryptography Extension (JCE) architecture9allows flexible cryptographic key strength to be configured via the10jurisdiction policy files which are referenced by the "crypto.policy"11security property in the <java-home>/conf/security/java.security file.1213By default, Java provides two different sets of cryptographic policy14files:1516unlimited: These policy files contain no restrictions on cryptographic17strengths or algorithms1819limited: These policy files contain more restricted cryptographic20strengths2122These files reside in <java-home>/conf/security/policy in the "unlimited"23or "limited" subdirectories respectively.2425Each subdirectory contains a complete policy configuration,26and subdirectories can be added/edited/removed to reflect your27import or export control product requirements.2829Within a subdirectory, the effective policy is the combined minimum30permissions of the grant statements in the file(s) matching the filename31pattern "default_*.policy". At least one grant is required. For example:3233limited = Export (all) + Import (limited) = Limited34unlimited = Export (all) + Import (all) = Unlimited3536The effective exemption policy is the combined minimum permissions37of the grant statements in the file(s) matching the filename pattern38"exempt_*.policy". Exemption grants are optional. For example:3940limited = grants exemption permissions, by which the41effective policy can be circumvented.42e.g. KeyRecovery/KeyEscrow/KeyWeakening.4344Please see the Java Cryptography Architecture (JCA) documentation for45additional information on these files and formats.4647YOU ARE ADVISED TO CONSULT YOUR EXPORT/IMPORT CONTROL COUNSEL OR ATTORNEY48TO DETERMINE THE EXACT REQUIREMENTS.4950Please note that the JCE for Java SE, including the JCE framework,51cryptographic policy files, and standard JCE providers provided with52the Java SE, have been reviewed and approved for export as mass market53encryption item by the US Bureau of Industry and Security.545556