1 2005-01-18 Sebastien Pouliot <sebastien@ximian.com>
3 * Evidence.cs: Fix problem with default evidence when ICU is enabled.
6 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
8 * Hash.cs: Fix regression in 2.0 to load default (hash) evidences.
10 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
12 * Hash.cs: Fix exception reporting for new methods in 2.0.
13 * Publisher.cs: Fixed unit tests failures under 2.0 (some exceptions
15 * PublisherMembershipCondition.cs: Fixed unit tests failures under 2.0
16 (some exceptions were changed).
18 2005-01-07 Raja R Harinath <rharinath@novell.com>
20 * IMembershipCondition.cs (Equals,ToString): Disable when building
23 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
25 * CodeGroup.cs: Removed FIXME as this was fixed (when?) in [g]mcs.
27 2004-11-26 Sebastien Pouliot <sebastien@ximian.com>
34 Added ComVisible attributes to match 2.0 October Preview.
36 2004-11-26 Sebastien Pouliot <sebastien@ximian.com>
38 * Evidence.cs: Faster default evidence creation by using an internal
39 call to check for a possible Authenticode signature of the assembly.
40 Previously we had to make several I/O to verify this (quite rare)
41 presence (but the runtime already had a good hint about this).
43 2004-10-20 Sebastien Pouliot <sebastien@ximian.com>
45 * Evidence.cs: Fix the case where GetPublicKey returns a 0 length
46 byte array so that we don't create an invalid StrongName evidence.
48 2004-09-19 Alexis Christoforides <alexis@thenull.net>
50 * CodeGroup.cs: Changed AddChild() to add a copy of the child, like
51 the MS implementation.
52 * UnionCodeGroup.cs: Resolve() will now perform union on child code
54 * FileCodeGroup.cs: Resolve() will now perform union on child code
56 * NetCodeGroup.cs: Resolve() will now perform union on child code
59 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
61 * PolicyLevel.cs: Fixed warning by re-activating safeguard
63 2004-09-03 Sebastien Pouliot <sebastien@ximian.com>
65 * CodeGroup.cs: Creates an empty PermissionSet (and not an empty
66 NamedPermissionSet). Required to run the MSDN library samples.
67 * FileCodeGroup.cs: Fixed Copy so that CodeGroup.Equals would work
68 preperly. Required to run the MSDN library samples.
69 * FirstMatchCodeGroup.cs: Reworked the Resolve* logic to run the MSDN
71 * PolicyLevel.cs: Fixed RemoveNamedPermissionSet and (more) complete
72 CreateAppDomainLevel to run the MSDN library samples.
73 * StrongNameMembershipCondition.cs: Fix ToXml to run the MSDN library
76 2004-09-02 Sebastien Pouliot <sebastien@ximian.com>
78 * Site.cs: Updated to match latest unit tests, i.e. match Fx 1.1 on
79 NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
81 2004-09-01 Sebastien Pouliot <sebastien@ximian.com>
83 * PolicyLevel.cs: Fixed Reset not to delete/load policy file for
84 AppDomain level. Added internal Resolve method for class names.
86 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
88 * ApplicationDirectory.cs: Now use Uri class to create the local
89 application directory.
90 * ApplicationDirectoryMembershipCondition.cs: Now use Uri class to
92 * Site.cs: Implemented CreateFromUrl using Uri class.
93 * Url.cs: Now use Uri class to prepare URLs.
94 * UrlMembershipCondition.cs: Now use Url class (instead of a string)
96 * Zone.cs: Implemented default CreateFromUrl using Uri class.
98 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
100 * ApplicationSecurityManager.cs: New stub for Fx 2.0 application trust
102 * ApplicationSecurityManagerCodeGroup.cs: New stubbed code group for
104 * ApplicationTrustCollection.cs: New. ApplicationTrust collection for
106 * ApplicationTrustEnumerator.cs: New. ApplicationTrust enumerator for
109 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
111 * ApplicationDirectory.cs: Fixed directory validation and ToString.
112 * CodeGroup.cs: Fixed PermissionSetName when policy is null.
113 * Evidence.cs: Fixed Merge for null case. Fixed IsSynchronized for
114 NET_2_0. Uncommented some code for NET_2_0 DomainManager usage.
115 * FileCodeGroup.cs: Fixed Resolve and ResolveMatchingGroup wrt new
117 * Gac.cs: Implemented IBuiltInEvidence methods.
118 * Hash.cs: Removed TODO from NET_2_0 as it's hashing seems compatible
119 with Mono ;-). Fixed properties for use with NET_2_0.
120 * HashMembershipCondition.cs: Fixed To|FromXml serialization. Make
121 copies of hash value (not references).
122 * PermissionRequestEvidence.cs: Now make copies of permission sets.
123 * Publisher.cs: Namespace cleanup, implemented GetRequiredSize.
124 * Site.cs: Namespace cleanup, implemented GetRequiredSize.
125 * StrongName.cs: Namespace cleanup.
126 * UnionCodeGroup.cs: Namespace cleanup, converted spaces to tabs.
127 * Url.cs: Namespace cleanup, implemented GetRequiredSize.
128 * Zone.cs: Namespace cleanup, globalization and added more details in
131 2004-08-24 Sebastien Pouliot <sebastien@ximian.com>
133 * UrlMembershipCondition.cs: Check now only iterate host provided
135 * ZoneMembershipCondition.cs: FromXml doesn't throw exceptions if Zone
136 attribute is missing.
138 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
140 * AllMembershipCondition.cs: Use common template for membership
142 * ApplicationDirectoryMembershipCondition.cs: Use common template for
143 membership condition. Limit evidences checks to host provided.
144 "Mostly" functionnal - still need to check c14n issues.
145 * ApplicationMembershipCondition.cs: New. For NET_2_0 profile.
146 * DomainApplicationMembershipCondition.cs: New. For NET_2_0 profile.
147 * GacMembershipCondition.cs: Use common template for membership
148 condition. Limit evidences checks to host provided.
149 * HashMembershipCondition.cs: Use common template for membership
150 condition. Limit evidences checks to host provided.
151 * MembershipConditionHelper.cs: Internal class for common membership
152 condition classes functionalities.
153 * PublisherMembershipCondition.cs: Use common template for membership
155 * SiteMembershipCondition.cs: Use common template for membership
157 * StrongNameMembershipCondition.cs: Use common template for membership
159 * UrlMembershipCondition.cs: Use common template for membership
161 * ZoneMembershipCondition.cs: Use common template for membership
164 2004-08-12 Sebastien Pouliot <sebastien@ximian.com>
166 * ZoneMembershipCondition.cs: Added missing tag name validation in
169 2004-08-11 Sebastien Pouliot <sebastien@ximian.com>
171 * ApplicationSecurityInfo.cs: Added missing interfaces.
172 * PolicyLevel.cs: Load policies from files, using *.default files if
173 policy is missing (like Fx 2.0). Fixed Resolve never to return null.
174 Added hardcoded policy defaults (to be updated as CAS progress) in
175 case no policy file, nor default files, are available.
176 * PolicyStatement.cs: Fixed AttributeString. Added internal static
177 Empty method (helper).
179 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
181 * ApplicationSecurityInfo.cs: New. Stub for NET_2_0.
183 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
185 * Evidence.cs: Added new static internal method to create default
186 host evidences for an assembly.
187 * FileCodeGroup.cs: Added incomplete (no children) policy resolution
188 in order to load more complex policies.
189 * Hash.cs: Added ISerialization support (required for cross-domain
190 evidence support, like nunit).
191 * NetCodeGroup.cs: Added incomplete (no children) policy resolution in
192 order to load more complex policies.
194 2004-08-04 Sebastien Pouliot <sebastien@ximian.com>
196 * Gac.cs: New. Implemented Gac evidence for NET_2_0.
197 * GacMembershipCondition.cs: New. for NET_2_0.
198 * Zone.cs: (Very) basic implementation of CreateFromUrl so we can
199 create a Zone evidence using an assembly location (file://...).
200 * ZoneMembershipCondition.cs: Fixed implementation wrt new unit tests.
201 Added missing "class" attribute in ToXml.
203 2004-08-03 Sebastien Pouliot <sebastien@ximian.com>
205 * CodeGroup.cs: Added PolicyLevel parameter to internal
206 constructor. Added support for attribute PermissionSetName in
208 * FileCodeGroup.cs: Added PolicyLevel parameter to internal
210 * FirstMatchCodeGroup.cs: Added PolicyLevel parameter to internal
212 * NetCodeGroup.cs: Added PolicyLevel parameter to internal
214 * PolicyLevel.cs: Throw a PolicyException when asked to save a
215 AppDomain policy. Use new CodeGroup constructor with "this".
216 * UnionCodeGroup.cs: Added PolicyLevel parameter to internal
217 constructor. Added Copy(bool) to copy, or not, the childs.
219 2004-08-02 Sebastien Pouliot <sebastien@ximian.com>
221 * CodeGroup.cs: Fixed Equals (true) which, strangely, only compares
222 on level of children.
223 * HashMembershipCondition.cs: Added empty constructor so Activator.
224 CreateInstance can work.
225 * PolicyLevel.cs: Implemented PolicyType (NET_2_0), Resolve and Save.
226 * PublisherMembershipCondition.cs: Added empty constructor so
227 Activator.CreateInstance can work.
228 * SiteMembershipCondition.cs: Added empty constructor so Activator.
229 CreateInstance can work.
230 * StrongNameMembershipCondition.cs: Added empty constructor so
231 Activator.CreateInstance can work.
232 * UnionCodeGroup.cs: Partial implementation for Resolve (missing
233 children support). Implemented ResolveMatchingCodeGroups.
234 * ZoneMembershipCondition.cs: Added empty constructor so Activator.
235 CreateInstance can work. Removed "class" validation in FromXml.
237 2004-07-14 Sebastien Pouliot <sebastien@ximian.com>
239 * NetCodeGroup.cs: Added Equals/GetHashCode methods to NET_2_0 profile.
240 * PolicyLevel.cs: Added internal constructor to load a policy file
241 from SecurityManager.
243 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
245 * Evidence.cs: Implemented Equals/GetHashCode and added Clear and
246 RemoveType methods for NET_2_0 profile.
247 * FileCodeGroup.cs: Added Scope property for NET_2_0 profile.
248 * Hash.cs: Added static CreateMD5 and CreateSHA1 for NET_2_0 profile.
249 * HashMembershipCondition.cs: Implements IDeserializationCallback and
250 ISerializable for NET_2_0 profile.
251 * NetCodeGroup.cs: Add methods related to CodeConnectAccess for
253 * PolicyException.cs: Implements _Exception for NET_2_0 profile.
254 * PolicyLevel.cs: Added Type property for NET_2_0 profile.
255 * PolicyStatement.cs: Implemented Equals/GetHashCode for NET_2_0
258 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
260 * ApplicationDefaultCodeGroup.cs: New class in Fx 2.0.
261 * ApplicationInstallScope.cs: New enum in Fx 2.0.
262 * ApplicationTrust.cs: New class in Fx 2.0.
263 * ApplicationVersionMatch.cs: New enum in Fx 2.0.
264 * CodeConnectAccess.cs: New class in Fx 2.0.
265 * CodeGroupGrantScope.cs: New enum in Fx 2.0.
266 * IApplicationTrustManager.cs: New interface in Fx 2.0.
267 * ITrustLicenseIssuerCollection.cs: New interface in Fx 2.0.
268 * ITrustManager.cs: New interface in Fx 2.0.
269 * ITrustManagerConfig.cs: New interface in Fx 2.0.
270 * PromptingLevel.cs: New enum in Fx 2.0.
271 * ProvideAssemblyEvidenceEventArgs.cs: New class in Fx 2.0.
272 * TrustLicenseIssuer.cs: New class in Fx 2.0.
273 * TrustManagerContext.cs: New class in Fx 2.0.
274 * TrustManagerUIContext.cs: New enum in Fx 2.0.
275 * TrustManagerZoneConfig.cs: New class in Fx 2.0.
277 2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
279 * StrongNameMembershipCondition.cs: Added missing [Serializable]
281 * ZoneMembershipCondition.cs: Added missing [Serializable] attribute.
283 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
285 * Evidence.cs: added TODO for serialization
287 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
289 * Publisher.cs: removed extra finalizer to fix public API
290 signature, renamed private field for serialization compatibility
293 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
295 * Url.cs: Call invariant ToUpper
297 2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
299 * PublisherMembershipCondition.cs: Now use CryptoConvert for
300 Hexadecimal convertions.
302 2004-01-28 Sebastien Pouliot <spouliot@videotron.ca>
304 * StrongName.cs: XML now use Type.Name (instead of Type.FullName) to
305 match the XML generated by MS.
307 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
309 * CodeGroup.cs: make it build with mcs. This is a BUG.
311 2004-01-26 Sebastien Pouliot <spouliot@videotron.ca>
313 * AllMembershipCondition.cs: Clean up. Removed FIXME.
314 * ApplicationDirectoryMembershipCondition.cs: Basic (incomplete) Check.
315 * ApplicationDirectory.cs: Added IBuiltInEvidence (to please corcompare).
316 * CodeGroup.cs: Now use Activator for [Named]PermissionSet. Change
317 Equals so it can compile with mcs.
318 * Hash.cs: Added IBuiltInEvidence (to please corcompare).
319 * PolicyLevel.cs: Minor changes to use the new empty constructors in
320 [Named]PermissionSet.
321 * PermissionRequestEvidence.cs: Added IBuiltInEvidence (to please
322 corcompare). Now use SecurityElement in ToString.
323 * Publisher.cs: Added IBuiltInEvidence (to please corcompare).
324 * Site.cs: Added IBuiltInEvidence (to please corcompare).
325 * StrongName.cs: Added IBuiltInEvidence (to please corcompare). Now use
326 SecurityElement in ToString. Removed TODO on CreateIdentityPermission
327 (evidence isn't required in this case).
329 2004-01-14 Sebastien Pouliot <spouliot@videotron.ca>
331 * Url.cs: Added IBuiltInEvidence (corcompare) and new static methods
332 to prepare and compare urls.
333 * UrlMembershipCondition.cs: Added missing [Serializable] attribute
334 and set_Url property. Implemented Check. Fixed Equals and To/FromXml.
336 2004-01-05 Sebastien Pouliot <spouliot@videotron.ca>
338 * CodeGroup.cs: Added internal constructor for PolicyLevel. Complete
339 FromXml. Various small fixes to match the unit tests.
340 * FileCodeGroup.cs: Added internal constructor for PolicyLevel.
341 Implemented GetHashCode (may not be exactly the same as MS).
342 * FirstMatchCodeGroup.cs: Added internal constructor for PolicyLevel.
343 Copy method now returns a deep copy (as documented).
344 * NetCodeGroup.cs: Added internal constructor for PolicyLevel. Fixed
345 "Same site Web" (as documented) to "Same site Web." (as real life).
346 Copy method now returns a deep copy (as documented).
347 * PolicyLevel.cs: Added missing ChangeNamedPermissionSet. Implemented
348 FromXml method. Added internal methods to load from file or string.
349 Added/changed lots of things to match unit tests.
350 * StrongNameMembershipCondition.cs: Added internal constructor for
351 PolicyLevel. Fixed Equals.
352 * UnionCodeGroup.cs: Added internal constructor for PolicyLevel.
353 Copy method now returns a deep copy (as documented).
355 2004-01-03 Sebastien Pouliot <spouliot@videotron.ca>
357 * Site.cs: Completed implementation.
358 * SiteMembershipCondition.cs: New. Implemented.
360 2004-01-02 Sebastien Pouliot <spouliot@videotron.ca>
362 * ApplicationDirectory.cs: Added to build. Commented IBuildInEvidence
364 * Evidence.cs: Synchronised collections (IsSynchronized is always true).
365 Add Locked property and Security exceptions.
366 * Publisher.cs: Now use SecurityElement in ToString. Removed TODO for
367 CreateIdentityPermission (Evidence is useless).
368 * StrongNameMembershipCondition.cs: Added IConstantMembershipCondition
369 interface. Implemented Check method.
370 * Url.cs: Implemented CreateIdentityPermission.
371 * UrlMembershipCondition.cs: Added IConstantMembershipCondition interface.
372 * ZoneMembershipCondition.cs: Added IConstantMembershipCondition
373 interface. Implemented Check method.
375 2004-01-01 Nick Drochak <ndrochak@gol.com>
377 * PermissionRequestEvidence.cs: New File
379 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
381 * PublisherMembershipCondition.cs: Completed TODO.
383 2003-08-05 Duncan Mak <duncan@ximian.com>
385 * ZoneMembershipCondition.cs: Added.
387 * StrongNameMembershipCondition.cs:
388 * UrlMembershipCondition.cs: (FromXml): Throw exceptions when the
389 headers do not match.
391 * PolicyStatement.cs (FromXml):
392 (ToXml): Implemented.
394 2003-08-04 Duncan Mak <duncan@ximian.com>
396 * IConstantMembershipCondition.cs: added.
398 * AllMembershipCondition.cs:
399 * ApplicationDirectoryMembershipCondition.cs:
400 * PublisherMembershipCondition.cs: Added
401 IConstantMembershipCondition marker interface.
403 2003-08-03 Duncan Mak <duncan@ximian.com>
405 * StrongNameMembershipCondition.cs:
406 * UrlMembershipCondition.cs: Implemented.
408 2003-08-01 Duncan Mak <duncan@ximian.com>
410 * PolicyStatement.cs (Copy): Added.
412 * PolicyLevel.cs: Implemented missing methods.
414 2003-07-31 Duncan Mak <duncan@ximian.com>
416 * Site.cs (IsValidSite): new method for checking the validing of
419 2003-07-30 Duncan Mak <duncan@ximian.com>
421 * Url.cs (ToString): It should output an XML string, not just the
424 2003-07-28 Duncan Mak <duncan@ximian.com>
428 * Url.cs: Added to CVS, basic functionality implemented, except
429 for CreateIdentityPermission (Site, Url) and the Resolve methods
432 2003-06-29 Sebastien Pouliot <spouliot@videotron.ca>
434 * ApplicationDirectory.cs: Added [Serializable] attribute to class.
435 * Evidence.cs: Added [Serializable] attribute to class.
436 * FirstMatchCodeGroup.cs: Added [Serializable] attribute to class.
437 * HashMembershipCondition.cs: Added [Serializable] attribute to class.
438 * NetCodeGroup.cs: Added [Serializable] attribute to class.
439 * PublisherMembershipCondition.cs: Added [Serializable] attribute to class.
440 * Zone.cs: Added [Serializable] attribute to class.
442 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
444 * Hash.cs: Added [Serializable] and ISerializable to class declaration.
445 Changed how the hash algorithm are created (now use system default
446 implementation). Added some exception handling.
448 2002-12-20 Jackson Harper <jackson@latitudegeo.com>
450 * Evidence.cs: Copy constructor does not attempt to merge if it recieves a null ref
452 2002-12-16 Sebastien Pouliot <spouliot@videotron.ca>
454 * StrongName.cs: New. Implemented.
456 2002-12-15 Sebastien Pouliot <spouliot@videotron.ca>
458 * Publisher.cs: New. Implemented.
459 * PublisherMembershipCondition.cs: New. X509 related stuff implemented.
461 2002-11-28 Jackson Harper <jackson@latitudegeo.com>
463 * NetCodeGroup.cs: Added file
465 2002-11-17 Jackson Harper <jackson@latitudegeo.com>
467 * FirstMatchCodeGroup.cs: Added Copyright
469 2002-11-17 Jackson Harper <jackson@latitudegeo.com>
471 * HashMembershipCondition.cs: Added file
473 2002-11-14 Jackson Harper <jackson@latitudegeo.com>
475 * Hash.cs: ToString now uses the SecurityElement class, Assembly byte data is cached after the first load
477 2002-11-11 Jackson Harper <jackson@latitudegeo.com>
479 * FirstMatchCodeGroup.cs: Made class sealed
481 2002-11-5 Jackson Harper <jackson@latitudegeo.com>
483 * ApplicationDirectory.cs: Fixed (C) in file header
485 2002-10-29 Nick Drochak <ndrochak@gol.com>
487 * Hash.cs: Fix build issues. Add some using statements mostly.
489 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
491 * FirstMatchCodeGroup.cs, Hash.cs: New classes, somewhat finished
493 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
495 * ApplicationDirectoryMembershipCondition.cs: Implemented most methods
497 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
499 * ApplicationDirectory.cs: Added class
501 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
503 * AllMembershipCondition.cs: Made GetHashCode act more like
504 MS version. All AllMembershipCondition instance's will return
505 the same hashcode but this hashcode should still be unique to
506 AllMembership Condition's.
509 2002-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
511 * IBuiltInEvidence.cs: New file.
512 * Zone.cs: New file. Implemented.
514 2002-06-10 Duncan Mak <duncan@ximian.com>
516 * IMembershipCondition.cs (Equals): Add missing methods.
518 2002-03-17 Nick Drochak <ndrochak@gol.com>
520 * ApplicationDirectoryMembershipCondition.cs: New file (stub)
522 2002-02-14 Nick Drochak <ndrochak@gol.com>
524 * FileCodeGroup.cs: Finish Equals()
526 2002-02-13 Dan Lewis <dihlewis@yahoo.co.uk>
528 * PolicyStatement: New file (stub)
530 2002-02-09 Nick Drochak <ndrochak@gol.com>
532 * FileCodeGroup.cs: New file. All done except for GetHashCode and
534 * CodeGroup.cs: Fix small bug in ToXml()
535 * Evidence.cs: Added method stub needed by FileCodeGroup.cs. Added
538 2002-02-07 Nick Drochak <ndrochak@gol.com>
540 * CodeGroup.cs: Went as far as I can for now. Need to look at
541 the (To|From)XML methods when I understand PolicyLevels better.
543 2002-02-02 Nick Drochak <ndrochak@gol.com>
545 * CodeGroup.cs: Not done, but checking in now just in case
547 2002-01-30 Nick Drochak <ndrochak@gol.com>
549 * CodeGroup.cs: New file. Not nearly done with this, but saving it
551 * PolicyLevel.cs: Sarted just a bit on this then relized i need CodeGroup
552 first (among others). Checking in for disaster recovery.
554 2002-01-29 Nick Drochak <ndrochak@gol.com>
556 * PolicyStatementAttribute.cs: New file.
557 * PolicyException.cs: Use correct namespace
558 * PolicyLevel.cs: Add [Serializable] to class
560 2002-01-19 Duncan Mak <duncan@ximian.com>
562 * PolicyException.cs: New File.
564 2002-01-03 Nick Drochak <ndrochak@gol.com>
566 * IIdentityPermissionFactory.cs: New File
567 * IMembershipCondition: New File
569 2001-12-29 Nick Drochak <ndrochak@gol.com>
571 * PolicyLevel.cs: New file
573 2001-12-21 Miguel de Icaza <miguel@ximian.com>
575 * SecurityElement.cs, CodeAccessPermission.cs IPermission.cs
576 IStackWalk.cs SecurityElement.cs ISecurityEncodable.cs: New files.