C# 클래스 ICSharpCode.SharpZipLib.Encryption.ZipAESStream

Encrypts and decrypts AES ZIP
Based on information from http://www.winzip.com/aes_info.htm and http://www.gladman.me.uk/cryptography_technology/fileencrypt/
상속: System.Security.Cryptography.CryptoStream
파일 보기 프로젝트 열기: icsharpcode/SharpZipLib 1 사용 예제들

공개 메소드들

메소드 설명
Read ( byte buffer, int offset, int count ) : int

Reads a sequence of bytes from the current CryptoStream into buffer, and advances the position within the stream by the number of bytes read.

Write ( byte buffer, int offset, int count ) : void

Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.

ZipAESStream ( Stream stream, ZipAESTransform transform, CryptoStreamMode mode ) : System

Constructor

메소드 상세

Read() 공개 메소드

Reads a sequence of bytes from the current CryptoStream into buffer, and advances the position within the stream by the number of bytes read.
public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

Write() 공개 메소드

Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
public Write ( byte buffer, int offset, int count ) : void
buffer byte An array of bytes. This method copies count bytes from buffer to the current stream.
offset int The byte offset in buffer at which to begin copying bytes to the current stream.
count int The number of bytes to be written to the current stream.
리턴 void

ZipAESStream() 공개 메소드

Constructor
public ZipAESStream ( Stream stream, ZipAESTransform transform, CryptoStreamMode mode ) : System
stream Stream The stream on which to perform the cryptographic transformation.
transform ZipAESTransform Instance of ZipAESTransform
mode CryptoStreamMode Read or Write
리턴 System