Home » openjdk-7 » javax » crypto » [javadoc | source]
javax.crypto
static class: CryptoPolicyParser.GrantEntry [javadoc | source]
java.lang.Object
   javax.crypto.CryptoPolicyParser$GrantEntry
Each grant entry in the policy configuration file is represented by a GrantEntry object.

For example, the entry

     grant {
      permission javax.crypto.CryptoPermission "DES", 56;
     };

is represented internally

pe = new CryptoPermissionEntry("javax.crypto.CryptoPermission",
                          "DES", 56);

ge = new GrantEntry();

ge.add(pe);

Constructor:
 GrantEntry() 
Method from javax.crypto.CryptoPolicyParser$GrantEntry Summary:
add,   contains,   permissionElements,   remove
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.crypto.CryptoPolicyParser$GrantEntry Detail:
  void add(CryptoPermissionEntry pe) 
 boolean contains(CryptoPermissionEntry pe) 
 Enumeration permissionElements() 
    Enumerate all the permission entries in this GrantEntry.
 boolean remove(CryptoPermissionEntry pe)