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-09-23 18:01:44 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2016-09-23 18:50:06 +0300
commit112631f5c6926eb00544cd39f6be7a98983503b8 (patch)
treedb9dc651ba8c19b71c6f6abc890639eaf4848ed8 /mcs/class/System/System.Security.Cryptography.X509Certificates
parentfa986f1e3669884968c258733d8a4da2a7895897 (diff)
[bcl] Add missing APIs for netstandard parity and expose a few APIs on mobile
This ensures we're compliant with the upcoming netstandard2.0 API surface area.
Diffstat (limited to 'mcs/class/System/System.Security.Cryptography.X509Certificates')
-rw-r--r--mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs
index 29decab439f..bd69c786b89 100644
--- a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs
+++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs
@@ -45,6 +45,7 @@ using MX = Mono.Security.X509;
using System.IO;
using System.Text;
using System.Collections;
+using System.Runtime.Serialization;
namespace System.Security.Cryptography.X509Certificates {
@@ -134,6 +135,10 @@ namespace System.Security.Cryptography.X509Certificates {
{
}
+ protected X509Certificate2 (SerializationInfo info, StreamingContext context) : base (info, context)
+ {
+ }
+
internal X509Certificate2 (X509Certificate2Impl impl)
: base (impl)
{