C# 클래스 System.Security.Cryptography.CryptoStream

상속: Stream, IDisposable
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CheckReadArguments void
CheckWriteArguments void
InitializeBuffer void
ReadAsyncCore Task
ReadAsyncInternal Task
WriteAsyncCore Task
WriteAsyncInternal Task

공개 메소드들

메소드 설명
Clear ( ) : void
CryptoStream ( Stream stream, ICryptoTransform transform, CryptoStreamMode mode ) : System.Diagnostics.Contracts
CryptoStream ( Stream stream, ICryptoTransform transform, CryptoStreamMode mode, bool leaveOpen ) : System.Diagnostics.Contracts
Flush ( ) : void
FlushAsync ( CancellationToken cancellationToken ) : Task
FlushFinalBlock ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
WriteByte ( byte value ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
CheckReadArguments ( byte buffer, int offset, int count ) : void
CheckWriteArguments ( byte buffer, int offset, int count ) : void
InitializeBuffer ( ) : void
ReadAsyncCore ( byte buffer, int offset, int count, CancellationToken cancellationToken, bool useAsync ) : Task
ReadAsyncInternal ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
WriteAsyncCore ( byte buffer, int offset, int count, CancellationToken cancellationToken, bool useAsync ) : Task
WriteAsyncInternal ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task

메소드 상세

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

CryptoStream() 공개 메소드

public CryptoStream ( Stream stream, ICryptoTransform transform, CryptoStreamMode mode ) : System.Diagnostics.Contracts
stream Stream
transform ICryptoTransform
mode CryptoStreamMode
리턴 System.Diagnostics.Contracts

CryptoStream() 공개 메소드

public CryptoStream ( Stream stream, ICryptoTransform transform, CryptoStreamMode mode, bool leaveOpen ) : System.Diagnostics.Contracts
stream Stream
transform ICryptoTransform
mode CryptoStreamMode
leaveOpen bool
리턴 System.Diagnostics.Contracts

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

FlushAsync() 공개 메소드

public FlushAsync ( CancellationToken cancellationToken ) : Task
cancellationToken CancellationToken
리턴 Task

FlushFinalBlock() 공개 메소드

public FlushFinalBlock ( ) : void
리턴 void

Read() 공개 메소드

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

ReadAsync() 공개 메소드

public ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken CancellationToken
리턴 Task

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

Write() 공개 메소드

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void

WriteAsync() 공개 메소드

public WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken CancellationToken
리턴 Task

WriteByte() 공개 메소드

public WriteByte ( byte value ) : void
value byte
리턴 void