Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-snapshot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonojenkins <jo.shields+jenkins@xamarin.com>2019-03-09 03:00:42 +0300
committermonojenkins <jo.shields+jenkins@xamarin.com>2019-03-09 03:00:42 +0300
commite2a1ce42b2e7b1d7082c14564634eb322904336e (patch)
treefa2f2eeed06333222bf1788393909f9de430157b /profiles
parent0f1ab9fb95fee58aa2f7c452612fbbcaa68ef27e (diff)
Apply changes from https://github.com/mono/mono/pull/13365 to API snapshot
Diffstat (limited to 'profiles')
-rw-r--r--profiles/net_4_x/System.Security.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/profiles/net_4_x/System.Security.cs b/profiles/net_4_x/System.Security.cs
index dd46d61..463934b 100644
--- a/profiles/net_4_x/System.Security.cs
+++ b/profiles/net_4_x/System.Security.cs
@@ -58,6 +58,21 @@ namespace System.Security.Cryptography
CurrentUser = 0,
LocalMachine = 1,
}
+ public abstract partial class DataProtector
+ {
+ protected DataProtector(string applicationName, string primaryPurpose, string[] specificPurposes) { }
+ protected string ApplicationName { get { throw null; } }
+ protected virtual bool PrependHashedPurposeToPlaintext { get { throw null; } }
+ protected string PrimaryPurpose { get { throw null; } }
+ protected System.Collections.Generic.IEnumerable<string> SpecificPurposes { get { throw null; } }
+ public static System.Security.Cryptography.DataProtector Create(string providerClass, string applicationName, string primaryPurpose, params string[] specificPurposes) { throw null; }
+ protected virtual byte[] GetHashedPurpose() { throw null; }
+ public abstract bool IsReprotectRequired(byte[] encryptedData);
+ public byte[] Protect(byte[] userData) { throw null; }
+ protected abstract byte[] ProviderProtect(byte[] userData);
+ protected abstract byte[] ProviderUnprotect(byte[] encryptedData);
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining, NoOptimization)]public byte[] Unprotect(byte[] encryptedData) { throw null; }
+ }
public enum MemoryProtectionScope
{
CrossProcess = 1,