C# Class Org.BouncyCastle.Crypto.Encodings.OaepEncoding

Inheritance: IAsymmetricBlockCipher
Mostra file Open project: gkardava/WinPass Class Usage Examples

Public Methods

Method Description
GetInputBlockSize ( ) : int
GetOutputBlockSize ( ) : int
GetUnderlyingCipher ( ) : IAsymmetricBlockCipher
Init ( bool forEncryption, ICipherParameters param ) : void
OaepEncoding ( IAsymmetricBlockCipher cipher ) : System
OaepEncoding ( IAsymmetricBlockCipher cipher, IDigest hash ) : System
OaepEncoding ( IAsymmetricBlockCipher cipher, IDigest hash, IDigest mgf1Hash, byte encodingParams ) : System
OaepEncoding ( IAsymmetricBlockCipher cipher, IDigest hash, byte encodingParams ) : System
ProcessBlock ( byte inBytes, int inOff, int inLen ) : byte[]

Private Methods

Method Description
DecodeBlock ( byte inBytes, int inOff, int inLen ) : byte[]
EncodeBlock ( byte inBytes, int inOff, int inLen ) : byte[]
ItoOSP ( int i, byte sp ) : void
maskGeneratorFunction1 ( byte Z, int zOff, int zLen, int length ) : byte[]

Method Details

GetInputBlockSize() public method

public GetInputBlockSize ( ) : int
return int

GetOutputBlockSize() public method

public GetOutputBlockSize ( ) : int
return int

GetUnderlyingCipher() public method

public GetUnderlyingCipher ( ) : IAsymmetricBlockCipher
return IAsymmetricBlockCipher

Init() public method

public Init ( bool forEncryption, ICipherParameters param ) : void
forEncryption bool
param ICipherParameters
return void

OaepEncoding() public method

public OaepEncoding ( IAsymmetricBlockCipher cipher ) : System
cipher IAsymmetricBlockCipher
return System

OaepEncoding() public method

public OaepEncoding ( IAsymmetricBlockCipher cipher, IDigest hash ) : System
cipher IAsymmetricBlockCipher
hash IDigest
return System

OaepEncoding() public method

public OaepEncoding ( IAsymmetricBlockCipher cipher, IDigest hash, IDigest mgf1Hash, byte encodingParams ) : System
cipher IAsymmetricBlockCipher
hash IDigest
mgf1Hash IDigest
encodingParams byte
return System

OaepEncoding() public method

public OaepEncoding ( IAsymmetricBlockCipher cipher, IDigest hash, byte encodingParams ) : System
cipher IAsymmetricBlockCipher
hash IDigest
encodingParams byte
return System

ProcessBlock() public method

public ProcessBlock ( byte inBytes, int inOff, int inLen ) : byte[]
inBytes byte
inOff int
inLen int
return byte[]