C# Class Internal.Cryptography.BasicSymmetricCipherCsp

Inheritance: Internal.Cryptography.BasicSymmetricCipher
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
BasicSymmetricCipherCsp ( int algId, CipherMode cipherMode, int blockSizeInBytes, byte key, int effectiveKeyLength, bool addNoSaltFlag, byte iv, bool encrypting ) : Internal.NativeCrypto
Transform ( byte input, int inputOffset, int count, byte output, int outputOffset ) : int
TransformFinal ( byte input, int inputOffset, int count ) : byte[]

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
AcquireSafeProviderHandle ( ) : System.Security.Cryptography.SafeProvHandle
ImportCspBlob ( System.Security.Cryptography.SafeProvHandle safeProvHandle, int algId, byte rawKey, bool addNoSaltFlag ) : SafeKeyHandle
Reset ( ) : void
Transform ( byte input, int inputOffset, int count, byte output, int outputOffset, bool isFinal ) : int

Method Details

BasicSymmetricCipherCsp() public méthode

public BasicSymmetricCipherCsp ( int algId, CipherMode cipherMode, int blockSizeInBytes, byte key, int effectiveKeyLength, bool addNoSaltFlag, byte iv, bool encrypting ) : Internal.NativeCrypto
algId int
cipherMode CipherMode
blockSizeInBytes int
key byte
effectiveKeyLength int
addNoSaltFlag bool
iv byte
encrypting bool
Résultat Internal.NativeCrypto

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Transform() public méthode

public Transform ( byte input, int inputOffset, int count, byte output, int outputOffset ) : int
input byte
inputOffset int
count int
output byte
outputOffset int
Résultat int

TransformFinal() public méthode

public TransformFinal ( byte input, int inputOffset, int count ) : byte[]
input byte
inputOffset int
count int
Résultat byte[]