[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono.git] / mcs / class / corlib / System.Security.Cryptography.X509Certificates / X509Helper.MonoTouch.opt.cs
1 #if MONOTOUCH || XAMMAC
2
3 // this file is a shim to enable compiling monotouch profiles without mono-extensions
4 namespace System.Security.Cryptography.X509Certificates
5 {
6         static partial class X509Helper
7         {
8                 public static X509CertificateImpl InitFromHandle (IntPtr handle)
9                 {
10                         throw new NotSupportedException ();
11                 }
12
13                 public static X509CertificateImpl Import (byte[] rawData, string password, X509KeyStorageFlags keyStorageFlags)
14                 {
15                         throw new NotSupportedException ();
16                 }
17         }
18 }
19
20 #endif