Imported Upstream version 4.8.0.309

Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-11-10 13:04:39 +00:00
parent ee1447783b
commit 94b2861243
4912 changed files with 390737 additions and 49310 deletions

View File

@@ -48,7 +48,7 @@ namespace System.Security.Cryptography.X509Certificates {
// and/or Authenticode certs. However this class works with older
// X509v1 certificates and non-authenticode (code signing) certs.
[Serializable]
#if NET_2_1
#if MOBILE
public partial class X509Certificate {
#else
public partial class X509Certificate : IDeserializationCallback, ISerializable {

View File

@@ -37,7 +37,7 @@ namespace System.Security.Cryptography.X509Certificates {
enum X509ContentType {
Unknown,
Cert,
// not supported by Silverlight 2.0 (NET_2_1)
// not supported by Silverlight 2.0 (MOBILE)
SerializedCert,
Pfx,
SerializedStore,

View File

@@ -32,7 +32,7 @@ using System;
using System.Text;
using System.Threading;
using System.Runtime.InteropServices;
#if !NET_2_1
#if !MOBILE
using System.Security.Permissions;
#endif
using MX = Mono.Security.X509;
@@ -49,7 +49,7 @@ namespace System.Security.Cryptography.X509Certificates
Interlocked.CompareExchange (ref nativeHelper, helper, null);
}
#if !NET_2_1
#if !MOBILE
// typedef struct _CERT_CONTEXT {
// DWORD dwCertEncodingType;
// BYTE *pbCertEncoded;

View File

@@ -35,7 +35,7 @@ namespace System.Security.Cryptography.X509Certificates {
[ComVisible (true)]
public enum X509KeyStorageFlags {
DefaultKeySet = 0,
// not supported by Silverlight 2.0 (NET_2_1)
// not supported by Silverlight 2.0 (MOBILE)
UserKeySet = 1,
MachineKeySet = 2,
Exportable = 4,