10 references to MachineKeyProtection
System.Web (10)
Security\MachineKey.cs (10)
34
public static string Encode(byte[] data,
MachineKeyProtection
protectionOption) {
40
if (protectionOption ==
MachineKeyProtection
.All || protectionOption ==
MachineKeyProtection
.Validation) {
48
if (protectionOption ==
MachineKeyProtection
.All || protectionOption ==
MachineKeyProtection
.Encryption) {
62
public static byte[] Decode(string encodedData,
MachineKeyProtection
protectionOption) {
82
if (protectionOption ==
MachineKeyProtection
.All || protectionOption ==
MachineKeyProtection
.Encryption) {
90
if (protectionOption ==
MachineKeyProtection
.All || protectionOption ==
MachineKeyProtection
.Validation) {