Add some new 4.0 features in System.Security.Cryptography
authorSebastien Pouliot <sebastien@ximian.com>
Mon, 2 May 2011 16:13:23 +0000 (12:13 -0400)
committerSebastien Pouliot <sebastien@ximian.com>
Mon, 2 May 2011 16:13:23 +0000 (12:13 -0400)
commit01ddb1883ba4cf9d9287fe77ecdba86c1bb572e1
treec02e8370863cd4e19f92efe69fcdf4e53f51ab25
parent9f863978a83404e85f3aab5874f05e1359a7324d
Add some new 4.0 features in System.Security.Cryptography

* CspProviderFlags.cs: Add new CreateEphemeralKey (128) value
* CryptoConfig.cs: Add 4.0 AllowOnlyFipsAlgorithms (always false) and
stubs for AddAlgorithm and AddOID
* CryptoStream.cs: Remove Close override (from 1.x days) and implement
HasFlushedFinalBlock (4.0)
mcs/class/corlib/System.Security.Cryptography/CryptoConfig.cs
mcs/class/corlib/System.Security.Cryptography/CryptoStream.cs
mcs/class/corlib/System.Security.Cryptography/CspProviderFlags.cs