C# Class Org.BouncyCastle.Crypto.IO.CipherStream

Inheritance: Stream
Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode Description
CipherStream ( Stream stream, IBufferedCipher readCipher, IBufferedCipher writeCipher ) : System
Close ( ) : void
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long length ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte b ) : void

Private Methods

Méthode Description
FillInBuf ( ) : bool
ReadAndProcessBlock ( ) : byte[]

Method Details

CipherStream() public méthode

public CipherStream ( Stream stream, IBufferedCipher readCipher, IBufferedCipher writeCipher ) : System
stream Stream
readCipher IBufferedCipher
writeCipher IBufferedCipher
Résultat System

Close() public méthode

public Close ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

ReadByte() public méthode

public ReadByte ( ) : int
Résultat int

Seek() public final méthode

public final Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public final méthode

public final SetLength ( long length ) : void
length long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

WriteByte() public méthode

public WriteByte ( byte b ) : void
b byte
Résultat void