C# Class Internal.Cryptography.OpenSslCipher

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

Public Methods

Method Description
OpenSslCipher ( IntPtr algorithm, CipherMode cipherMode, int blockSizeInBytes, byte key, int effectiveKeyLength, byte iv, bool encrypting ) : System
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
CheckBoolReturn ( bool returnValue ) : void
CipherUpdate ( byte input, int inputOffset, int count, byte output, int outputOffset ) : int
OpenKey ( IntPtr algorithm, byte key, int effectiveKeyLength ) : void
ProcessFinalBlock ( byte input, int inputOffset, int count ) : byte[]
Reset ( ) : void

Method Details

Dispose() protected method

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

OpenSslCipher() public method

public OpenSslCipher ( IntPtr algorithm, CipherMode cipherMode, int blockSizeInBytes, byte key, int effectiveKeyLength, byte iv, bool encrypting ) : System
algorithm System.IntPtr
cipherMode CipherMode
blockSizeInBytes int
key byte
effectiveKeyLength int
iv byte
encrypting bool
return System

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