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:
Diffstat (limited to 'mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs')
-rw-r--r--mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs6
1 files changed, 6 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 f6f58531b3c..ccdfa63ffb7 100644
--- a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs
+++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs
@@ -40,6 +40,12 @@ using MX = Mono.Security.X509;
namespace System.Security.Cryptography.X509Certificates {
public class X509Certificate2 : X509Certificate {
+#if !SECURITY_DEP
+ // Used in Mono.Security HttpsClientStream
+ public X509Certificate2 (byte[] rawData)
+ {
+ }
+#endif
#if SECURITY_DEP
private bool _archived;
private X509ExtensionCollection _extensions;