C# Class Internal.Cryptography.BasicSymmetricCipherCsp

Inheritance: Internal.Cryptography.BasicSymmetricCipher
Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method 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[]

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method 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 method

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
return Internal.NativeCrypto

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Transform() public method

public Transform ( byte input, int inputOffset, int count, byte output, int outputOffset ) : int
input byte
inputOffset int
count int
output byte
outputOffset int
return int

TransformFinal() public method

public TransformFinal ( byte input, int inputOffset, int count ) : byte[]
input byte
inputOffset int
count int
return byte[]