You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
parent
ee1447783b
commit
94b2861243
@ -137,7 +137,7 @@ public class CryptoConfigTest {
|
||||
// additional names (URL) used for XMLDSIG (System.Security.Cryptography.Xml)
|
||||
// URL taken from http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/
|
||||
[Test]
|
||||
#if NET_2_1
|
||||
#if MOBILE
|
||||
[Ignore ("System.Security.dll is not part of Moonlight, MonoTouch and Mono for Android")]
|
||||
#endif
|
||||
public void CreateFromURL ()
|
||||
@ -145,6 +145,9 @@ public class CryptoConfigTest {
|
||||
// URL used in SignatureMethod element
|
||||
CreateFromName ("http://www.w3.org/2000/09/xmldsig#dsa-sha1", "System.Security.Cryptography.DSASignatureDescription");
|
||||
CreateFromName ("http://www.w3.org/2000/09/xmldsig#rsa-sha1", "System.Security.Cryptography.RSAPKCS1SHA1SignatureDescription");
|
||||
CreateFromName ("http://www.w3.org/2001/04/xmldsig-more#rsa-sha256", "System.Security.Cryptography.RSAPKCS1SHA256SignatureDescription");
|
||||
CreateFromName ("http://www.w3.org/2001/04/xmldsig-more#rsa-sha384", "System.Security.Cryptography.RSAPKCS1SHA384SignatureDescription");
|
||||
CreateFromName ("http://www.w3.org/2001/04/xmldsig-more#rsa-sha512", "System.Security.Cryptography.RSAPKCS1SHA512SignatureDescription");
|
||||
CreateFromName ("http://www.w3.org/2000/09/xmldsig#hmac-sha1", null);
|
||||
// URL used in DigestMethod element
|
||||
CreateFromName ("http://www.w3.org/2000/09/xmldsig#sha1", "System.Security.Cryptography.SHA1CryptoServiceProvider");
|
||||
@ -303,17 +306,24 @@ public class CryptoConfigTest {
|
||||
MapNameToOID ("System.Security.Cryptography.SHA1", "1.3.14.3.2.26");
|
||||
// MapNameToOID ("System.Security.Cryptography.HashAlgorithm", "1.3.14.3.2.26");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA1CryptoServiceProvider", "1.3.14.3.2.26");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA1Cng", "1.3.14.3.2.26");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA1Managed", "1.3.14.3.2.26");
|
||||
MapNameToOID ("MD5", "1.2.840.113549.2.5");
|
||||
MapNameToOID ("System.Security.Cryptography.MD5", "1.2.840.113549.2.5");
|
||||
MapNameToOID ("System.Security.Cryptography.MD5CryptoServiceProvider", "1.2.840.113549.2.5");
|
||||
MapNameToOID ("SHA256", "2.16.840.1.101.3.4.2.1");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA256CryptoServiceProvider", "2.16.840.1.101.3.4.2.1");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA256Cng", "2.16.840.1.101.3.4.2.1");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA256", "2.16.840.1.101.3.4.2.1");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA256Managed", "2.16.840.1.101.3.4.2.1");
|
||||
MapNameToOID ("SHA384", "2.16.840.1.101.3.4.2.2");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA384CryptoServiceProvider", "2.16.840.1.101.3.4.2.2");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA384Cng", "2.16.840.1.101.3.4.2.2");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA384", "2.16.840.1.101.3.4.2.2");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA384Managed", "2.16.840.1.101.3.4.2.2");
|
||||
MapNameToOID ("SHA512", "2.16.840.1.101.3.4.2.3");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA512CryptoServiceProvider", "2.16.840.1.101.3.4.2.3");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA512Cng", "2.16.840.1.101.3.4.2.3");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA512", "2.16.840.1.101.3.4.2.3");
|
||||
MapNameToOID ("System.Security.Cryptography.SHA512Managed", "2.16.840.1.101.3.4.2.3");
|
||||
MapNameToOID ("RIPEMD160", "1.3.36.3.2.1");
|
||||
|
Reference in New Issue
Block a user