C# Class Internal.NativeCrypto.Cng

Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
CreateCryptographicException ( NTSTATUS ntStatus ) : Exception

Method Details

BCryptDecrypt() public static méthode

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
Résultat int

BCryptEncrypt() public static méthode

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
Résultat int

BCryptImportKey() public static méthode

public static BCryptImportKey ( this hAlg, byte key ) : SafeKeyHandle
hAlg this
key byte
Résultat SafeKeyHandle

BCryptOpenAlgorithmProvider() public static méthode

public static BCryptOpenAlgorithmProvider ( String pszAlgId, String pszImplementation, OpenAlgorithmProviderFlags dwFlags ) : SafeAlgorithmHandle
pszAlgId String
pszImplementation String
dwFlags OpenAlgorithmProviderFlags
Résultat SafeAlgorithmHandle

CryptFormatObject() public static méthode

public static CryptFormatObject ( String oidValue, byte rawData, bool multiLine ) : String
oidValue String
rawData byte
multiLine bool
Résultat String

SetCipherMode() public static méthode

public static SetCipherMode ( this hAlg, string cipherMode ) : void
hAlg this
cipherMode string
Résultat void

SetEffectiveKeyLength() public static méthode

public static SetEffectiveKeyLength ( this hAlg, int effectiveKeyLength ) : void
hAlg this
effectiveKeyLength int
Résultat void