C# 클래스 FlatRedBall.ContentExtensions.Encryption.AesEncryptionManager

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

공개 메소드들

메소드 설명
AesEncryptionManager ( ) : System
DecryptFromBytes ( byte encryptedBytes, int &decryptedByteCount ) : byte[]
DecryptFromStream ( Stream stream, int encryptedByteCount, int &decryptedByteCount ) : byte[]
DecryptFromStreamToStream ( Stream fromStream, Stream toStream, Action updateAction = null ) : void
EncryptToBytes ( byte unencryptedBytes ) : byte[]
GetDecryptStream ( Stream encryptedStream ) : CryptoStream
GetPadding ( byte decryptedBytes ) : int

비공개 메소드들

메소드 설명
AssignByteArrayFromString ( string value, byte byteArray ) : void
CopyFromStreamToStream ( Stream fromStream, Stream toStream, int size, Action updateAction ) : void
IsValidKeyOrVector ( string value ) : bool

메소드 상세

AesEncryptionManager() 공개 메소드

public AesEncryptionManager ( ) : System
리턴 System

DecryptFromBytes() 공개 메소드

public DecryptFromBytes ( byte encryptedBytes, int &decryptedByteCount ) : byte[]
encryptedBytes byte
decryptedByteCount int
리턴 byte[]

DecryptFromStream() 공개 메소드

public DecryptFromStream ( Stream stream, int encryptedByteCount, int &decryptedByteCount ) : byte[]
stream Stream
encryptedByteCount int
decryptedByteCount int
리턴 byte[]

DecryptFromStreamToStream() 공개 메소드

public DecryptFromStreamToStream ( Stream fromStream, Stream toStream, Action updateAction = null ) : void
fromStream Stream
toStream Stream
updateAction Action
리턴 void

EncryptToBytes() 공개 메소드

public EncryptToBytes ( byte unencryptedBytes ) : byte[]
unencryptedBytes byte
리턴 byte[]

GetDecryptStream() 공개 메소드

public GetDecryptStream ( Stream encryptedStream ) : CryptoStream
encryptedStream Stream
리턴 System.Security.Cryptography.CryptoStream

GetPadding() 공개 메소드

public GetPadding ( byte decryptedBytes ) : int
decryptedBytes byte
리턴 int