Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2016-08-26 16:33:35 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2016-08-26 18:49:03 +0300
commitc4692001a9b9a0707afd633a73aa5caabb26e0c0 (patch)
treef4d988aa094a0bf5e6c3683fa0c42b36bf9c7135 /mcs/class/System.Security
parentd7967505ff09d8a5b7ab2e26f309be2c31f08132 (diff)
[bcl] Fix method parameter names to match .NET
The names were fixed only for the subset of methods that are included in netstandard, and in cases where netstandard differs from Desktop .NET we match with .NET.
Diffstat (limited to 'mcs/class/System.Security')
-rw-r--r--mcs/class/System.Security/System.Security.Cryptography.Pkcs/AlgorithmIdentifier.cs8
-rw-r--r--mcs/class/System.Security/System.Security.Cryptography.Pkcs/ContentInfo.cs8
-rw-r--r--mcs/class/System.Security/System.Security.Cryptography.Pkcs/EnvelopedCms.cs8
3 files changed, 12 insertions, 12 deletions
diff --git a/mcs/class/System.Security/System.Security.Cryptography.Pkcs/AlgorithmIdentifier.cs b/mcs/class/System.Security/System.Security.Cryptography.Pkcs/AlgorithmIdentifier.cs
index d836c1e4ff2..27c57d10925 100644
--- a/mcs/class/System.Security/System.Security.Cryptography.Pkcs/AlgorithmIdentifier.cs
+++ b/mcs/class/System.Security/System.Security.Cryptography.Pkcs/AlgorithmIdentifier.cs
@@ -45,15 +45,15 @@ namespace System.Security.Cryptography.Pkcs {
_params = new byte [0];
}
- public AlgorithmIdentifier (Oid algorithm)
+ public AlgorithmIdentifier (Oid oid)
{
- _oid = algorithm;
+ _oid = oid;
_params = new byte [0];
}
- public AlgorithmIdentifier (Oid algorithm, int keyLength)
+ public AlgorithmIdentifier (Oid oid, int keyLength)
{
- _oid = algorithm;
+ _oid = oid;
_length = keyLength;
_params = new byte [0];
}
diff --git a/mcs/class/System.Security/System.Security.Cryptography.Pkcs/ContentInfo.cs b/mcs/class/System.Security/System.Security.Cryptography.Pkcs/ContentInfo.cs
index 32b675abb28..3bf9efb989d 100644
--- a/mcs/class/System.Security/System.Security.Cryptography.Pkcs/ContentInfo.cs
+++ b/mcs/class/System.Security/System.Security.Cryptography.Pkcs/ContentInfo.cs
@@ -53,14 +53,14 @@ namespace System.Security.Cryptography.Pkcs {
{
}
- public ContentInfo (Oid oid, byte[] content)
+ public ContentInfo (Oid contentType, byte[] content)
{
- if (oid == null)
- throw new ArgumentNullException ("oid");
+ if (contentType == null)
+ throw new ArgumentNullException ("contentType");
if (content == null)
throw new ArgumentNullException ("content");
- _oid = oid;
+ _oid = contentType;
_content = content;
}
diff --git a/mcs/class/System.Security/System.Security.Cryptography.Pkcs/EnvelopedCms.cs b/mcs/class/System.Security/System.Security.Cryptography.Pkcs/EnvelopedCms.cs
index 1f57f5c5516..3942e5bba1b 100644
--- a/mcs/class/System.Security/System.Security.Cryptography.Pkcs/EnvelopedCms.cs
+++ b/mcs/class/System.Security/System.Security.Cryptography.Pkcs/EnvelopedCms.cs
@@ -61,12 +61,12 @@ namespace System.Security.Cryptography.Pkcs {
_uattribs = new CryptographicAttributeObjectCollection ();
}
- public EnvelopedCms (ContentInfo content) : this ()
+ public EnvelopedCms (ContentInfo contentInfo) : this ()
{
- if (content == null)
- throw new ArgumentNullException ("content");
+ if (contentInfo == null)
+ throw new ArgumentNullException ("contentInfo");
- _content = content;
+ _content = contentInfo;
}
public EnvelopedCms (ContentInfo contentInfo, AlgorithmIdentifier encryptionAlgorithm)