C# Класс Internal.NativeCrypto.Cng

Показать файл Открыть проект

Открытые методы

Метод Описание
BCryptDecrypt ( this hKey, byte input, int inputOffset, int inputCount, byte iv, byte output, int outputOffset, int outputCount ) : int
BCryptEncrypt ( this hKey, byte input, int inputOffset, int inputCount, byte iv, byte output, int outputOffset, int outputCount ) : int
BCryptImportKey ( this hAlg, byte key ) : SafeKeyHandle
BCryptOpenAlgorithmProvider ( String pszAlgId, String pszImplementation, OpenAlgorithmProviderFlags dwFlags ) : SafeAlgorithmHandle
CryptFormatObject ( String oidValue, byte rawData, bool multiLine ) : String
SetCipherMode ( this hAlg, string cipherMode ) : void
SetEffectiveKeyLength ( this hAlg, int effectiveKeyLength ) : void

Приватные методы

Метод Описание
CreateCryptographicException ( NTSTATUS ntStatus ) : Exception

Описание методов

BCryptDecrypt() публичный статический Метод

public static BCryptDecrypt ( this hKey, byte input, int inputOffset, int inputCount, byte iv, byte output, int outputOffset, int outputCount ) : int
hKey this
input byte
inputOffset int
inputCount int
iv byte
output byte
outputOffset int
outputCount int
Результат int

BCryptEncrypt() публичный статический Метод

public static BCryptEncrypt ( this hKey, byte input, int inputOffset, int inputCount, byte iv, byte output, int outputOffset, int outputCount ) : int
hKey this
input byte
inputOffset int
inputCount int
iv byte
output byte
outputOffset int
outputCount int
Результат int

BCryptImportKey() публичный статический Метод

public static BCryptImportKey ( this hAlg, byte key ) : SafeKeyHandle
hAlg this
key byte
Результат SafeKeyHandle

BCryptOpenAlgorithmProvider() публичный статический Метод

public static BCryptOpenAlgorithmProvider ( String pszAlgId, String pszImplementation, OpenAlgorithmProviderFlags dwFlags ) : SafeAlgorithmHandle
pszAlgId String
pszImplementation String
dwFlags OpenAlgorithmProviderFlags
Результат SafeAlgorithmHandle

CryptFormatObject() публичный статический Метод

public static CryptFormatObject ( String oidValue, byte rawData, bool multiLine ) : String
oidValue String
rawData byte
multiLine bool
Результат String

SetCipherMode() публичный статический Метод

public static SetCipherMode ( this hAlg, string cipherMode ) : void
hAlg this
cipherMode string
Результат void

SetEffectiveKeyLength() публичный статический Метод

public static SetEffectiveKeyLength ( this hAlg, int effectiveKeyLength ) : void
hAlg this
effectiveKeyLength int
Результат void