C# Class NuoDb.Data.Client.Net.CryptoInputStream

Inheritance: Stream
Mostra file Open project: nuodb/nuodb-dotnet Class Usage Examples

Public Methods

Method Description
CryptoInputStream ( CryptoSocket cryptoSocket, Stream inputStream ) : System
CryptoInputStream ( Stream inputStream ) : System
Flush ( ) : void
Read ( byte b ) : int
Read ( byte b, int offset, int length ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
encrypt ( NuoDb.Data.Client.Security.Cipher encryptionEngine ) : void
readLength ( ) : int
readMessage ( ) : byte[]

Method Details

CryptoInputStream() public method

public CryptoInputStream ( CryptoSocket cryptoSocket, Stream inputStream ) : System
cryptoSocket CryptoSocket
inputStream Stream
return System

CryptoInputStream() public method

public CryptoInputStream ( Stream inputStream ) : System
inputStream Stream
return System

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte b ) : int
b byte
return int

Read() public method

public Read ( byte b, int offset, int length ) : int
b byte
offset int
length int
return int

ReadByte() public method

public ReadByte ( ) : int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

encrypt() public method

public encrypt ( NuoDb.Data.Client.Security.Cipher encryptionEngine ) : void
encryptionEngine NuoDb.Data.Client.Security.Cipher
return void

readLength() public method

public readLength ( ) : int
return int

readMessage() public method

public readMessage ( ) : byte[]
return byte[]