C# Class NuGet.Services.Operations.Secrets.DpapiNg.DpapiNGDataProtector

Inheritance: System.Security.Cryptography.DataProtector
Mostrar archivo Open project: NuGet/NuGet.Operations

Public Methods

Method Description
DpapiNGDataProtector ( string applicationName, string primaryPurpose, string specificPurposes ) : System
DpapiNGDataProtector ( string protectionDescriptor, string applicationName, string primaryPurpose, string specificPurposes ) : System
IsReprotectRequired ( byte encryptedData ) : bool

Protected Methods

Method Description
ProviderProtect ( byte userData ) : byte[]
ProviderUnprotect ( byte encryptedData ) : byte[]

Method Details

DpapiNGDataProtector() public method

public DpapiNGDataProtector ( string applicationName, string primaryPurpose, string specificPurposes ) : System
applicationName string
primaryPurpose string
specificPurposes string
return System

DpapiNGDataProtector() public method

public DpapiNGDataProtector ( string protectionDescriptor, string applicationName, string primaryPurpose, string specificPurposes ) : System
protectionDescriptor string
applicationName string
primaryPurpose string
specificPurposes string
return System

IsReprotectRequired() public method

public IsReprotectRequired ( byte encryptedData ) : bool
encryptedData byte
return bool

ProviderProtect() protected method

protected ProviderProtect ( byte userData ) : byte[]
userData byte
return byte[]

ProviderUnprotect() protected method

protected ProviderUnprotect ( byte encryptedData ) : byte[]
encryptedData byte
return byte[]