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

ファイルを表示 Open project: NuGet/NuGet.Operations

Public Methods

Method Description
Protect ( NCryptProtectionDescriptorHandle descriptor, byte data ) : byte[]
Unprotect ( byte protectedData ) : byte[]

Method Details

Protect() public static method

public static Protect ( NCryptProtectionDescriptorHandle descriptor, byte data ) : byte[]
descriptor NCryptProtectionDescriptorHandle
data byte
return byte[]

Unprotect() public static method

public static Unprotect ( byte protectedData ) : byte[]
protectedData byte
return byte[]