* Make `corlib` internals visible to `System.Security` on all profiles, not just monotouch watch.
* Moves all generated `SR` files and their generation logic from `System` and `System.Security` into `corlib`. Since `corlib` internals are visible to these assemblies, we don't need to duplicate the resource strings.
* Cleanup the `RESX_RESOURCE_STRING` is `corlib` and sort them alphabetically.
* Add the internal `Internal.Cryptography.Helpers` helper class from CoreFX to `corlib` (currently unused, but "Blue" will need it).
* Finalize the implementation of SignedXml.ComputeSignature().
The implementation was taken from Reference Source, which makes the behaviour of this method the same as in .NET Framework, as well as makes it possible to use custom signature descriptions.
* XmlDsigEnvelopedTransformTest.cs: Added test for .ctor (bool). Use
Assert class. Improved properties tests.
* XmlDsigC14TransformTest.cs: Added test for .ctor (bool).
* XmlDsigExcC14NTransformTest.cs: Added .ctor tests and added asserts
IncludsiveNamespacesPrefixList
* XmlDsigExcC14NWithCommentsTransformTest.cs: Added basic .ctor and
properties tests.
* XmlDsigC14NWithCommentsTransformTest.cs: Fixed line endings.
* XmlLicenseTransformTest.cs: Added basic .ctor and properties tests.
* XmlDsigBase64Transform.cs: Use constant for Algorithm namespace.
* XmlDsigExcC14NTransform.cs: Fixed ctors to use WithComments
algorithm if includeComments is true. Assign includeNamespacesPrefixList
to instance field.
* XmlDsigExcC14NWithCommentsTransform.cs: Remove unnecessary
assignment to Algorithm now that base ctor is fixed.
* XmlDsigC14NWithCommentsTransform.cs: Remove unnecessary assignment
to Algorithm now that base ctor is fixed.
* XmlDsigC14NTransform.cs: In default ctor, just invoke .ctor (bool).
In .ctor (bool), assign WithComments algorithm if includeComments is
true. Use constants for Algorithm namespace.
* XmlDsigEnvelopedSignatureTransform.cs: Use constant for Algorithm
namespace.
* XmlDsigXPathTransform.cs: Use constant for Algorithm namespace.
* XmlDsigXsltTransform.cs: Use constant for Algorithm namespace.
* XmlLicenseTransform.cs: Assign Algorithm in ctor.
* XmlSignature.cs: Added constant for XmlLicenseTransform algorithm.
* System.Security_test.dll.sources: Added XmlLicenseTransformTest.cs
and XmlDsigExcC14NWithCommentsTransformTest.cs.
svn path=/trunk/mcs/; revision=115803
* XmlCanonicalizer.cs : don't output default namespace when the node's
namespace is not empty. Check "visibly utilized" namespace nodes in
exc-c14n. Also, in exc-c14n, rendered namespaces are not written.
Added InclusiveNamespaces PrefixList field (not in use yet).
* XmlDsigExcC14NTransform.cs :
re-imported from XmlDsigC14NTransform.cs.
* System.Security_test.dll.sources : added
XmlDsigExcC14NTransformTest.cs.
* XmlDsigExcC14NTransformTest.cs : new tests, mostly copied from
non-exc test.
* xmldsig.cs : exc-c14n tests could be run under 2.0 profile (and
they are not working correctly yet).
* Makefile : Added net_2_0 profile support.
svn path=/trunk/mcs/; revision=71220
* Makefile: Execute PKITS tests only if the data is installed locally.
See System.dll unit tests for details.
* System.Security_test.dll.sources: Add some PKITS unit tests to the
build.
svn path=/trunk/mcs/; revision=69543
* System.Security_test.dll.sources: Added unit and CAS tests for
System.Security.Cryptography.X509Certificates.X509Certificate2UI
svn path=/trunk/mcs/; revision=67535
* EncryptedXml.cs : True fix for DecryptData(). It indeed uses block size
(or possibly IV size) in Transform(), but only for stripping the heading
n bytes garbage.
* EncryptedXmlTest.cs : new file. Added practical example.
* EncryptedXmlSample1.xml, sample.pfx : support files for the above test.
* System.Security_test.dll.sources: added EncryptedXmlTest.cs.
* Makefile: added some extra test support files as EXTRA_DISTFILES.
svn path=/trunk/mcs/; revision=65750
* CipherReference.cs, EncryptedReference.cs : unify duplicate code.
Remove incorrect name check in the latter class so that it works
for DataReference and KeyReference as well.
* DataReferenceTest.cs : new test.
* System.Security_test.dll.sources: added DataReferenceTest.cs.
svn path=/trunk/mcs/; revision=64990
2005-09-26 Sebastien Pouliot <[email protected]>
* Asn*.cs, Oid*.cs: Moved to System.dll
In Test/System.Security.Permissions:
2005-09-26 Sebastien Pouliot <[email protected]>
* StorePermissionAttributeTest.cs: Moved in System.dll
In Test/System.Security.Cryptography.X509Certificates:
2005-09-26 Sebastien Pouliot <[email protected]>
* All tests moved to System.dll assembly.
In System.Security.Cryptography:
2005-09-26 Sebastien Pouliot <[email protected]>
* Asn*.cs, Oid*.cs: Moved to System.dll
In System.Security.Permissions:
2005-09-26 Sebastien Pouliot <[email protected]>
* Store*.cs: Moved in System.dll
In .:
2005-09-26 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Remove all X509 related classes.
* System.Security_test.dll.sources: Remove all X509 related tests.
* System.Security.Cryptography.X509Certificates/*.cs: moved to
System.dll assembly.
* Test/System.Security.Cryptography.X509Certificates/*.cs: moved to
System.dll assembly.
In System.Security.Cryptography.X509Certificates:
2005-09-26 Sebastien Pouliot <[email protected]>
* All classes moved in System.dll
svn path=/trunk/mcs/; revision=50770
* System.Security.dll.sources: Added System.Security.Cryptography.
X509Certificates/X509EnhancedKeyUsageExtension.cs and
X509SubjectKeyIdentifierHashAlgorithm.cs to the build.
* System.Security_test.dll.sources: Added System.Security.Cryptography
.Pkcs/Pkcs9ContentTypeTest.cs, Pkcs9MessageDigestTest.cs and System.
Security.Cryptography.X509Certificates/X509BasicConstraintsExtensionTest.cs,
X509EnhancedKeyUsageExtensionTest.cs, X509ExtensionTest.cs,
X509KeyUsageExtensionTest.cs and X509SubjectKeyIdentifierExtensionTest.cs
to the unit test assembly.
svn path=/trunk/mcs/; revision=39055
* Makefile: Don't ignore the CS0119 warnings (private field not used)
when building the assembly (the code is already clean for this).
* System.Security.dll.sources: Add DataProtectionPermission, Attribute
and Flags to the assembly (moved from corlib).
* System.Security_test.dll.sources: Add DataProtectionPermission
Attribute unit tests (moved from corlib unit tests).
svn path=/trunk/mcs/; revision=38362
* System.Security.dll.sources: Added System.Security.Cryptography/
ProtectedData.cs, ProtectedMemory.cs, DataProtectionScope.cs and
MemoryProtectionScope.cs as they been moved from mscorlib to here.
* System.Security_test.dll.sources : Added Test/System.Security.
Cryptography/ProtectedDataTest.cs and ProtectedMemoryTest.cs for the
same reason.
svn path=/trunk/mcs/; revision=38060
* System.Security_test.dll.sources: Added a lot of existing tests
(from 1.2 documentation) that were never compiled.
svn path=/trunk/mcs/; revision=30859