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

Inheritance: Stream
显示文件 Open project: nonorganic/dssnet Class Usage Examples

Protected Properties

Property Type Description
inDigest IDigest
outDigest IDigest
stream Stream

Public Methods

Method Description
Close ( ) : void
DigestStream ( Stream stream, IDigest readDigest, IDigest writeDigest ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
ReadDigest ( ) : IDigest
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long length ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte b ) : void
WriteDigest ( ) : IDigest

Method Details

Close() public method

public Close ( ) : void
return void

DigestStream() public method

public DigestStream ( Stream stream, IDigest readDigest, IDigest writeDigest ) : System
stream Stream
readDigest IDigest
writeDigest IDigest
return System

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadByte() public method

public ReadByte ( ) : int
return int

ReadDigest() public method

public ReadDigest ( ) : IDigest
return IDigest

Seek() public method

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

SetLength() public method

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

Write() public method

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

WriteByte() public method

public WriteByte ( byte b ) : void
b byte
return void

WriteDigest() public method

public WriteDigest ( ) : IDigest
return IDigest

Property Details

inDigest protected_oe property

protected IDigest inDigest
return IDigest

outDigest protected_oe property

protected IDigest outDigest
return IDigest

stream protected_oe property

protected Stream stream
return Stream