namespace System.Security.Cryptography {
-#if NET_2_0
[ComVisible (true)]
-#endif
public abstract class RSA : AsymmetricAlgorithm {
public static new RSA Create ()
{
+#if FULL_AOT_RUNTIME
+ return new System.Security.Cryptography.RSACryptoServiceProvider ();
+#else
return Create ("System.Security.Cryptography.RSA");
+#endif
}
public static new RSA Create (string algName)
return (RSA) CryptoConfig.CreateFromName (algName);
}
-#if NET_2_0
protected RSA ()
-#else
- public RSA ()
-#endif
{
}
public abstract byte[] DecryptValue (byte[] rgb);
- public abstract RSAParameters ExportParameters (bool include);
+ public abstract RSAParameters ExportParameters (bool includePrivateParameters);
public abstract void ImportParameters (RSAParameters parameters);