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

Inheritance: Stream
ファイルを表示 Open project: nonorganic/dssnet Class Usage Examples

Protected Properties

Property Type Description
inMac IMac
outMac IMac
stream Stream

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
MacStream ( Stream stream, IMac readMac, IMac writeMac ) : System
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
ReadMac ( ) : IMac
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long length ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte b ) : void
WriteMac ( ) : IMac

Method Details

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

MacStream() public method

public MacStream ( Stream stream, IMac readMac, IMac writeMac ) : System
stream Stream
readMac IMac
writeMac IMac
return System

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

ReadMac() public method

public ReadMac ( ) : IMac
return IMac

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

WriteMac() public method

public WriteMac ( ) : IMac
return IMac

Property Details

inMac protected_oe property

protected IMac inMac
return IMac

outMac protected_oe property

protected IMac outMac
return IMac

stream protected_oe property

protected Stream stream
return Stream