Commit Graph
14 Commits
Author SHA1 Message Date
David Lechner f26842327d fix System.Security.SecurString.ReadAt(int), includes NUnit test 2013-01-31 21:12:56 -06:00
Marek Safar c45375b4c8 Fix types signature 2012-07-27 12:25:43 +01:00
Miguel de Icaza 4baa1d2bc2 More removal of old defines
svn path=/trunk/mcs/; revision=145609
2009-11-06 21:25:38 +00:00
Marek Safar cc9c53a109 Warnings cleanup
svn path=/trunk/mcs/; revision=111713
2008-08-27 15:40:13 +00:00
Sebastien Pouliot 21d4b14f6f 2008-01-02 Sebastien Pouliot <[email protected]>
* SecureString.cs: Fix InsertAt buffer calculation. Fix #350820


svn path=/trunk/mcs/; revision=92107
2008-01-02 15:14:10 +00:00
Sebastien Pouliot 9851f87e59 2008-01-02 Sebastien Pouliot <[email protected]>
* SecureString.cs: Don't forget length in Copy. Fix #350840


svn path=/trunk/mcs/; revision=92104
2008-01-02 14:44:00 +00:00
Atsushi Eno d53125ab7a 2007-08-08 Atsushi Enomoto <[email protected]>
* SecureString.cs : commenting out internal call. It somehow seems
	  to cause timeout on the buildbots :(


svn path=/trunk/mcs/; revision=83662
2007-08-08 12:44:10 +00:00
Atsushi Eno a1fa272c48 2007-08-07 Atsushi Enomoto <[email protected]>
* SecureString.cs : adding notes that ProtectedMemory is not
	  implemented for non-windows environment.


svn path=/trunk/mcs/; revision=83583
2007-08-07 12:24:37 +00:00
Atsushi Eno a7a8824fc6 2007-08-07 Atsushi Enomoto <[email protected]>
* SecureString.cs : Decrypt() and Encrypt() now use icall wrapper
	  to ProtectedMemory in System.Security.dll.


svn path=/trunk/mcs/; revision=83576
2007-08-07 11:21:06 +00:00
Sebastien Pouliot 04ecae7ba2 2005-11-11 Sebastien Pouliot <[email protected]>
* SecureString.cs: Completed InsertAt, fixed Alloc not to re-alloc a
	block of the same size. Fixed missing encryption for the char* ctor.
	Only missing is access to ProtectedMemory do to the [en|de]cryption.


svn path=/trunk/mcs/; revision=52910
2005-11-11 14:18:44 +00:00
Sebastien Pouliot 3df0425e57 2005-10-28 Sebastien Pouliot <[email protected]>
* SecureString.cs: Changed the previous (and partial) managed 
	implementation to one (that will be) based on ProtectedMemory. Work in
	progress...


svn path=/trunk/mcs/; revision=52329
2005-10-28 15:44:41 +00:00
Sebastien Pouliot fede5cfc65 2005-06-08 Sebastien Pouliot <[email protected]>
* AllowPartiallyTrustedCallersAttribute.cs, HostSecurityManagerFlags.cs
	IEvidenceFactory.cs, IPermission.cs, ISecurityEncodable.cs,
	ISecurityPolicyEncodable.cs, IStackWalk.cs, NamedPermissionSet.cs,
	PolicyLevelType.cs, SecureString.cs, SecurityElement.cs, 
	SecurityZone.cs, UnverifiableCodeAttribute.cs, VerificationException.cs
	XmlSyntaxException.cs: Fix 2.0 beta2 API changes (which is mostly 
	adding ComVisible attributes to classes).


svn path=/trunk/mcs/; revision=45630
2005-06-08 11:29:29 +00:00
Sebastien Pouliot 2e00f333b7 2004-11-30 Sebastien Pouliot <[email protected]>
* CodeAccessPermission.cs:
	* NamedPermissionSet.cs:
	* PermissionSet.cs:
	* SecurityElement.cs:
	* SecurityException.cs:
		Added ComVisible attributes to match 2.0 October Preview.
	* SecureString.cs: Added an internal method to get the unencrypted 
	string (required to use the string inside mscorlib).


svn path=/trunk/mcs/; revision=36870
2004-11-30 23:56:18 +00:00
Sebastien Pouliot 9a778ca428 2004-08-03 Sebastien Pouliot <[email protected]>
* PermissionSetCollection.cs: New class in Fx 2.0.
	* SecureString.cs: New class in Fx 2.0. Not yet encrypted.

svn path=/trunk/mcs/; revision=31818
2004-08-03 18:43:50 +00:00