// This file contains auto-generated code. // Generated from `System.Security.Cryptography.ProtectedData, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`. namespace System { namespace Security { namespace Cryptography { public enum DataProtectionScope { CurrentUser = 0, LocalMachine = 1, } public static class ProtectedData { public static byte[] Protect(byte[] userData, byte[] optionalEntropy, System.Security.Cryptography.DataProtectionScope scope) => throw null; public static byte[] Protect(System.ReadOnlySpan userData, System.Security.Cryptography.DataProtectionScope scope, System.ReadOnlySpan optionalEntropy = default(System.ReadOnlySpan)) => throw null; public static int Protect(System.ReadOnlySpan userData, System.Security.Cryptography.DataProtectionScope scope, System.Span destination, System.ReadOnlySpan optionalEntropy = default(System.ReadOnlySpan)) => throw null; public static bool TryProtect(System.ReadOnlySpan userData, System.Security.Cryptography.DataProtectionScope scope, System.Span destination, out int bytesWritten, System.ReadOnlySpan optionalEntropy = default(System.ReadOnlySpan)) => throw null; public static bool TryUnprotect(System.ReadOnlySpan encryptedData, System.Security.Cryptography.DataProtectionScope scope, System.Span destination, out int bytesWritten, System.ReadOnlySpan optionalEntropy = default(System.ReadOnlySpan)) => throw null; public static byte[] Unprotect(byte[] encryptedData, byte[] optionalEntropy, System.Security.Cryptography.DataProtectionScope scope) => throw null; public static byte[] Unprotect(System.ReadOnlySpan encryptedData, System.Security.Cryptography.DataProtectionScope scope, System.ReadOnlySpan optionalEntropy = default(System.ReadOnlySpan)) => throw null; public static int Unprotect(System.ReadOnlySpan encryptedData, System.Security.Cryptography.DataProtectionScope scope, System.Span destination, System.ReadOnlySpan optionalEntropy = default(System.ReadOnlySpan)) => throw null; } } } }