* 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
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.
* EnvelopedCms.cs, SignedCms.cs: Remove unneeded field
initialization to their default values.
[Found using Gendarme AvoidUnneededFieldInitializationRule]
svn path=/trunk/mcs/; revision=115569
* 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
* AlgorithmIdentifier.cs: Removed FIXME - seems "by design".
* ContentInfo.cs: Applied fix for ArgumentNullException (was fixed in
beta2).
* Pkcs9ContentType.cs: Added new override for CopyFrom.
* Pkcs9DocumentDescription.cs: Added new override for CopyFrom.
Applied fix for ArgumentNullException (was fixed in beta2).
* Pkcs9DocumentName.cs: Added new override for CopyFrom.
Applied fix for ArgumentNullException (was fixed in beta2).
* Pkcs9MessageDigest.cs: Added new override for CopyFrom.
* Pkcs9SigningTime.cs: Added new override for CopyFrom.
svn path=/trunk/mcs/; revision=43615
* Pkcs9Attribute.cs: Fixed wrt unit tests.
* Pkcs9ContentType.cs: Completed public part. Internals are still
todo later.
* Pkcs9DocumentDescription.cs: Completed implementation.
* Pkcs9DocumentName.cs: Completed implementation.
* Pkcs9SigningTime.cs: Completed implementation.
* Pkcs9MessageDigest.cs: Completed public part. Internals are still
todo later.
svn path=/trunk/mcs/; revision=39052
* AlgorithmIdentifier.cs: Added missing #if NET_2_0.
* ContentInfo.cs: Fixed OID due to changes in Mono.Security.
* EnvelopedPkcs7.cs: Fixed OID due to changes in Mono.Security.
* SignedPkcs7.cs: Fixed OID due to changes in Mono.Security.
svn path=/trunk/mcs/; revision=30852
* ContentInfo.cs: Modified default Oid not to include description.
Added basic support for static GetContentType.
* EnvelopedPkcs7.cs: New. Partial implementation of PKCS#7 envelopes
(encrypted data).
* KeyAgreeRecipientInfo.cs: New. Stub for key agreement informations.
Note that key agreement algorithms (DH) are absent from the framework.
* KeyTransRecipientInfo.cs: New. Implementation for key transport
informations.
* Pkcs7Recipient.cs: New. Implementation of "recipients" - how it
links to a X.509 certificate (issuer and serial key or subject key
info).
* Pkcs7RecipientCollection.cs: New. Collection of Pkcs7Recipient.
* Pkcs7RecipientEnumerator.cs: New. Enumerator for Pkcs7Recipient.
* Pkcs7AttributeCollection.cs: New. Collection of Pkcs9Attributes.
* Pkcs7AttributeEnumerator.cs: New. Enumerator for Pkcs9Attributes.
* PublicKeyInfo.cs: New. Handle public key informations.
* RecipientInfoCollection.cs: New. Collection of RecipientInfo (and
inherited classes).
* RecipientInfoEnumerator.cs: New. Enumerator for RecipientInfo (and
inherited classes).
* SignedPkcs7.cs: New. Partial implementation of PKCS#7 signed
structures.
* SignerInfo.cs: New. Information (certificate and attributes) about
the signer. Actual signature/verification stuff is missing.
* SignerInfoCollection.cs: New. Collection of SignerInfo.
* SignerInfoEnumarator.cs: New. Enumerator for SignerInfo.
* SubjectIdentifier.cs: New. Contains the type of identifier linking
to a subject.
* SubjectIdentifierOrKey.cs: New. Contains the subject's public key or
an information linking to a subject public key.
svn path=/trunk/mcs/; revision=20843
* ContentInfo.cs: New. Class to encapsulate PKCS7 ContentInfo. Static
method GetContentType need to be completed (requires some test vectors).
* Pkcs7Signer.cs: New. Class to add attributes (authenticated and/or
authenticated), certificates and other informations to the signature.
* RecipientInfo.cs: New. Abstract class to encpasulate recipient
informations.
svn path=/trunk/mcs/; revision=19742