public void add(Permission permission){
  if (isReadOnly())   throw new SecurityException("attempt to add a Permission " + "to a readonly PermissionCollection");
  if (!(permission instanceof CryptoPermission))   return;
  permissions.addElement(permission);
}

public void add ( Permission permission ) { if ( isReadOnly ( ) ) throw new SecurityException ( "attempt to add a Permission " + "to a readonly PermissionCollection" ) ; if ( ! ( permission instanceof CryptoPermission ) ) return ; permissions . addElement ( permission ) ; }
adds a permission to the cryptopermissioncollection .
