C# Class MonoTests.System.Security.Cryptography.CryptoStreamTest

Show file Open project: kumpera/mono

Public Methods

Method Description
AssertEquals ( string msg, byte array1, byte array2 ) : void
DecryptData ( ICryptoTransform des, string strData ) : string
EncryptData ( ICryptoTransform des, string strData ) : string

Private Methods

Method Description
CascadedCryptoStream_Read ( ) : void
CascadedCryptoStream_Write ( ) : void
Compress ( ) : void
Ctor_InvalidEnumValue ( ) : void
CustomDisposeCalled ( ) : void
DecryptPartial_TransformFinalBlock_2Pass ( ) : void
DecryptPartial_TransformFinalBlock_required ( ) : void
DecryptorWriteBlocks ( ) : void
EmptyStream ( PaddingMode mode ) : byte[]
EmptyStreamWithPaddingNone ( ) : void
EmptyStreamWithPaddingPKCS7 ( ) : void
EmptyStreamWithPaddingZeros ( ) : void
EncryptOnRead ( ) : void
EncryptorWriteBlocks ( ) : void
Expand ( ) : void
ExplicitFlush ( ) : void
FlushFinalBlockReadStream ( ) : void
FlushFinalBlock_Disposed ( ) : void
FlushFinalBlock_Dual ( ) : void
FlushReadStream ( ) : void
FromBase64_Read ( ) : void
FromBase64_Write ( ) : void
FullRoundtripRead ( ) : void
GetLength ( ) : void
GetPosition ( ) : void
ImplicitFlush ( ) : void
ImplicitFlushCascade ( ) : void
MultiblocksWithPartial ( ) : void
NonMultipleOfBlockSize ( ) : void
NonMultipleOfBlockSize_Decrypt ( ICryptoTransform ct, byte data ) : byte[]
NonMultipleOfBlockSize_Encrypt ( ICryptoTransform ct, byte data ) : byte[]
OutputBlock_Smaller ( ) : void
PaddingModeNone ( ) : void
PartialRoundtripRead ( ) : void
PreGeneratedStreams ( ) : void
ReadModeDispose_FinalBlock ( ) : void
Read_Disposed ( ) : void
Read_Disposed_Break ( ) : void
Read_EmptyBuffer_ZeroCount ( ) : void
Read_InvalidOffset ( ) : void
Read_NegativeCount ( ) : void
Read_NegativeOffset ( ) : void
Read_NullBuffer ( ) : void
Read_OverflowCount ( ) : void
Read_OverflowOffset ( ) : void
Read_WriteStream ( ) : void
Read_ZeroCount ( ) : void
Seek ( ) : void
SetLength ( ) : void
SetPosition ( ) : void
SetUp ( ) : void
StreamNull ( ) : void
StreamReadModeRead ( ) : void
StreamReadModeWrite ( ) : void
StreamWriteModeRead ( ) : void
StreamWriteModeWrite ( ) : void
ToBase64_Read ( ) : void
ToBase64_Write ( ) : void
TransformNull ( ) : void
WriteByte ( ) : void
WriteByte ( PaddingMode mode, bool padded ) : void
WriteByteReadByte ( ) : void
WriteOnBlockWithFinal ( ) : void
Write_Disposed ( ) : void
Write_EmptyBuffer_ZeroCount ( ) : void
Write_InvalidOffset ( ) : void
Write_NegativeCount ( ) : void
Write_NegativeOffset ( ) : void
Write_NullBuffer ( ) : void
Write_OverflowCount ( ) : void
Write_OverflowOffset ( ) : void
Write_ReadStream ( ) : void
Write_ZeroCount ( ) : void

Method Details

AssertEquals() public method

public AssertEquals ( string msg, byte array1, byte array2 ) : void
msg string
array1 byte
array2 byte
return void

DecryptData() public method

public DecryptData ( ICryptoTransform des, string strData ) : string
des ICryptoTransform
strData string
return string

EncryptData() public method

public EncryptData ( ICryptoTransform des, string strData ) : string
des ICryptoTransform
strData string
return string