You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.182
Former-commit-id: 439c182e520038bf50777ca2fe684f216ae28552
This commit is contained in:
parent
c911219690
commit
804b15604f
@@ -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];
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user