C# 클래스 Org.BouncyCastle.Crypto.Modes.CcmBlockCipher

상속: IAeadBlockCipher
파일 보기 프로젝트 열기: red-gate/iTextSharp-4.1.6 1 사용 예제들

공개 메소드들

메소드 설명
CcmBlockCipher ( IBlockCipher cipher ) : System
DoFinal ( byte outBytes, int outOff ) : int
GetBlockSize ( ) : int
GetMac ( ) : byte[]
GetOutputSize ( int len ) : int
GetUnderlyingCipher ( ) : IBlockCipher
GetUpdateOutputSize ( int len ) : int
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessByte ( byte input, byte outBytes, int outOff ) : int
ProcessBytes ( byte inBytes, int inOff, int inLen, byte outBytes, int outOff ) : int
ProcessPacket ( byte input, int inOff, int inLen ) : byte[]
Reset ( ) : void

비공개 메소드들

메소드 설명
calculateMac ( byte data, int dataOff, int dataLen, byte macBlock ) : int
hasAssociatedText ( ) : bool

메소드 상세

CcmBlockCipher() 공개 메소드

public CcmBlockCipher ( IBlockCipher cipher ) : System
cipher IBlockCipher
리턴 System

DoFinal() 공개 메소드

public DoFinal ( byte outBytes, int outOff ) : int
outBytes byte
outOff int
리턴 int

GetBlockSize() 공개 메소드

public GetBlockSize ( ) : int
리턴 int

GetMac() 공개 메소드

public GetMac ( ) : byte[]
리턴 byte[]

GetOutputSize() 공개 메소드

public GetOutputSize ( int len ) : int
len int
리턴 int

GetUnderlyingCipher() 공개 메소드

public GetUnderlyingCipher ( ) : IBlockCipher
리턴 IBlockCipher

GetUpdateOutputSize() 공개 메소드

public GetUpdateOutputSize ( int len ) : int
len int
리턴 int

Init() 공개 메소드

public Init ( bool forEncryption, ICipherParameters parameters ) : void
forEncryption bool
parameters ICipherParameters
리턴 void

ProcessByte() 공개 메소드

public ProcessByte ( byte input, byte outBytes, int outOff ) : int
input byte
outBytes byte
outOff int
리턴 int

ProcessBytes() 공개 메소드

public ProcessBytes ( byte inBytes, int inOff, int inLen, byte outBytes, int outOff ) : int
inBytes byte
inOff int
inLen int
outBytes byte
outOff int
리턴 int

ProcessPacket() 공개 메소드

public ProcessPacket ( byte input, int inOff, int inLen ) : byte[]
input byte
inOff int
inLen int
리턴 byte[]

Reset() 공개 메소드

public Reset ( ) : void
리턴 void