9 Commits
Author SHA1 Message Date
Filip Navara 6db2c5a1f8 Import System.Security.Cryptography.Pkcs from CoreFX. (#8994)
* Import System.Security.Cryptography.Pkcs from CoreFX.

* Change 'as' operator to a cast.

* Add missing EnvelopedCms overloads.

* Include CMS signing classes in all builds.

* [csproj] Update project files

* Add missing DSACertificateExtensions class.

* Update references.

* Rename EnvelopedCms.Overloads.cs to EnvelopedCms.cs.

* Enable some of the System.Security.Cryptography.Pkcs xunit tests.

* Update references.

* Bump API snapshot submodule

* Disable xunit tests that may depend on Windows PAL.

Contributes to https://github.com/mono/mono/issues/7589
2018-06-18 09:39:19 +02:00
Alexander Köplinger c4692001a9 [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.
2016-08-26 17:49:03 +02:00
Alexander Köplinger 746650d1b9 [bcl] Remove more NET_2_0 checks from class libs 2015-01-17 05:45:39 +01:00
Marek Safar 2d36f50709 2009-06-05 Marek Safar <[email protected]>
* Makefile: Fixed NET_2_0 conditional to actually handle Mono.Security
	dependency.


svn path=/trunk/mcs/; revision=135540
2009-06-05 16:27:11 +00:00
Sebastien Pouliot dcb051c81a 2008-10-12 Sebastien Pouliot <[email protected]>
* EnvelopedCms.cs, SignedCms.cs: Remove unneeded field 
	initialization to their default values.
	[Found using Gendarme AvoidUnneededFieldInitializationRule]


svn path=/trunk/mcs/; revision=115569
2008-10-12 15:05:08 +00:00
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Sebastien Pouliot 7a598992b0 2005-05-03 Sebastien Pouliot <[email protected]>
* CmsSigner.cs: Removed old FIXME.
	* ContentInfo.cs: Better detection (but still less strict than MS).
	* EnvelopedCms.cs: Avoid possible NullReferenceException in Encrypt.
	* KeyTransRecipientInfo.cs: Minor editing updates.
	* Pkcs9ContentType.cs: Added encoding/decoding of the content 
	information (OID).
	* Pkcs9MessageDigest.cs: Added encoding/decoding of the digest.
	* SignedCms.cs: Version set to 0 (default). Serial numbers are 
	reversed here (Fx isn't very consistant in this regard).
	* SignerInfo.cs: Convert the hash name to an OID.
	* SignerInfoCollection.cs: Completed class.


svn path=/trunk/mcs/; revision=43970
2005-05-03 17:55:44 +00:00
Sebastien Pouliot cac21fb340 2005-04-23 Sebastien Pouliot <[email protected]>
* CmsRecipient.cs, CmsRecipientCollection.cs, CmsSigner.cs, 
	EnvelopedCms.cs, KeyAgreeRecipientInfo.cs, Pkcs9Attribute.cs,
	Pkcs9ContentType.cs, Pkcs9DocumentDescription.cs, Pkcs9DocumentName.cs,
	Pkcs9MessageDigest.cs, Pkcs9SigningTime.cs, SignedCms.cs, 
	SignerInfo.cs: Adapted for changes in class names in beta2.


svn path=/trunk/mcs/; revision=43482
2005-04-23 14:19:12 +00:00
Sebastien Pouliot 5639cacb2c 2004-07-08 Sebastien Pouliot <[email protected]>
* ContentInfo.cs: Added finalizer.
	* CmsRecipient.cs: New. Replace Pkcs7Recipient (from 1.2).
	* CmsRecipientCollection.cs: New. Replace Pkcs7RecipientCollection
	(from 1.2).
	* CmsRecipientEnumerator.cs: New. Replace Pkcs7RecipientEnumerator
	(from 1.2).
	* CmsSigner.cs: New. Replace Pkcs7Signer (from 1.2).
	* EnvelopedCms.cs: New. Replace EnvelopedPkcs7 (from 1.2).
	* KeyAgreeRecipientInfo.cs: Fixed internal constructor.
	* Pkcs9Attribute.cs: Now inherit from AsnEncodedData. Fixed
	constructors.
	* Pkcs9DocumentDescription.cs: Sealed class and fixed API.
	* Pkcs9DocumentName.cs: Sealed class and fixed API.
	* Pkcs9SigningTime.cs: Sealed class and fixed API.
	* PublicKeyInfo.cs: Sealed class.
	* RecipientInfo.cs: Removed protected constructor.
	* RecipientInfoCollection.cs: Sealed class.
	* RecipientInfoEnumerator.cs: Sealed class.
	* SignedCms.cs: New. Replace SignedPkcs7 (from 1.2).
	* SignerInfo.cs: Sealed class and fixed API.
	* SignerInfoCollection.cs: Sealed class and fixed CopyTo.
	* SignerInfoEnumerator.cs: Sealed class.
	* SubjectIdentifier.cs: Sealed class.
	* SubjectIdentifierOrKey.cs: Sealed class.
	* SubjectIdentifierType.cs: Fixed enum and added [Serializable].

svn path=/trunk/mcs/; revision=30907
2004-07-09 01:58:38 +00:00