C# 클래스 CSharpRTMP.Core.Protocols.Rtmfp.AESEngine

파일 보기 프로젝트 열기: langhuihui/csharprtmp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Type AESType
_key uint[]

공개 메소드들

메소드 설명
AESEngine ( ) : System
AESEngine ( AESEngine other, AESType type ) : System
AESEngine ( byte key = null, Direction direction = Direction.DECRYPT ) : System
Compute ( byte ary ) : byte
Decrypt ( BufferWithOffset encryptArray ) : void
Encrypt ( BufferWithOffset inArray ) : void

Next ( AESType t ) : AESEngine
Process ( System.Stream outStream ) : void

비공개 메소드들

메소드 설명
ByteArrayToU32 ( byte byteArray, int start, UInt32 &s0, UInt32 &s1, UInt32 &s2, UInt32 &s3 ) : void
Decrypt16Byte ( BufferWithOffset inArray, int start, UInt32 key ) : void
Encrypt16Byte ( byte outArray, int start, UInt32 key ) : void

加密16个byte

GetDecryptKey ( byte key ) : System.UInt32[]
GetEncryptKey ( byte key ) : System.UInt32[]
GetU32 ( byte str, int offset ) : UInt32
U32ToByteArray ( UInt32 s0, UInt32 s1, UInt32 s2, UInt32 s3, byte byteArray, int start ) : void

메소드 상세

AESEngine() 공개 메소드

public AESEngine ( ) : System
리턴 System

AESEngine() 공개 메소드

public AESEngine ( AESEngine other, AESType type ) : System
other AESEngine
type AESType
리턴 System

AESEngine() 공개 메소드

public AESEngine ( byte key = null, Direction direction = Direction.DECRYPT ) : System
key byte
direction Direction
리턴 System

Compute() 공개 정적인 메소드

public static Compute ( byte ary ) : byte
ary byte
리턴 byte

Decrypt() 공개 메소드

public Decrypt ( BufferWithOffset encryptArray ) : void
encryptArray CSharpRTMP.Common.BufferWithOffset
리턴 void

Encrypt() 공개 메소드

public Encrypt ( BufferWithOffset inArray ) : void
inArray CSharpRTMP.Common.BufferWithOffset
리턴 void

Next() 공개 메소드

public Next ( AESType t ) : AESEngine
t AESType
리턴 AESEngine

Process() 공개 메소드

public Process ( System.Stream outStream ) : void
outStream System.Stream
리턴 void

프로퍼티 상세

Type 공개적으로 프로퍼티

public AESType Type
리턴 AESType

_key 공개적으로 프로퍼티

public uint[] _key
리턴 uint[]