C# 클래스 OpenSSL.Core.BIO

Encapsulates the BIO_* functions.
상속: OpenSSL.Core.Base
파일 보기 프로젝트 열기: langhuihui/csharprtmp 1 사용 예제들

공개 메소드들

메소드 설명
BIO ( byte buf ) : System

Calls BIO_new(BIO_s_mem()) and then BIO_write() the buf

BIO ( string str ) : System

Calls BIO_new(BIO_s_mem()) and then BIO_write() the str

File ( string filename, string mode ) : BIO

Factory method that calls BIO_new_file()

GetMessageDigestContext ( ) : OpenSSL.Crypto.MessageDigestContext

Returns the MessageDigestContext if this BIO's type if BIO_f_md()

MemoryBuffer ( ) : BIO

Factory method that calls BIO_new() with BIO_s_mem()

MemoryBuffer ( bool takeOwnership ) : BIO

Calls BIO_new(BIO_s_mem())

MessageDigest ( OpenSSL.Crypto.MessageDigest md ) : BIO

Factory method that calls BIO_new() with BIO_f_md()

Push ( BIO bio ) : void

Calls BIO_push()

ReadBytes ( int count ) : ArraySegment

Calls BIO_read()

ReadString ( ) : string

Calls BIO_gets()

SetClose ( CloseOption opt ) : void

Calls BIO_set_close()

Write ( byte buf ) : void

Calls BIO_write()

Write ( byte buf, int len ) : void

Calls BIO_write()

Write ( string str ) : void

Calls BIO_puts()

Write ( uint value ) : void

Calls BIO_write()

Write ( ushort value ) : void

Calls BIO_write()

보호된 메소드들

메소드 설명
OnDispose ( ) : void

Calls BIO_free()

비공개 메소드들

메소드 설명
BIO ( IntPtr ptr, bool owner ) : System

메소드 상세

BIO() 공개 메소드

Calls BIO_new(BIO_s_mem()) and then BIO_write() the buf
public BIO ( byte buf ) : System
buf byte
리턴 System

BIO() 공개 메소드

Calls BIO_new(BIO_s_mem()) and then BIO_write() the str
public BIO ( string str ) : System
str string
리턴 System

File() 공개 정적인 메소드

Factory method that calls BIO_new_file()
public static File ( string filename, string mode ) : BIO
filename string
mode string
리턴 BIO

GetMessageDigestContext() 공개 메소드

Returns the MessageDigestContext if this BIO's type if BIO_f_md()
public GetMessageDigestContext ( ) : OpenSSL.Crypto.MessageDigestContext
리턴 OpenSSL.Crypto.MessageDigestContext

MemoryBuffer() 공개 정적인 메소드

Factory method that calls BIO_new() with BIO_s_mem()
public static MemoryBuffer ( ) : BIO
리턴 BIO

MemoryBuffer() 공개 정적인 메소드

Calls BIO_new(BIO_s_mem())
public static MemoryBuffer ( bool takeOwnership ) : BIO
takeOwnership bool
리턴 BIO

MessageDigest() 공개 정적인 메소드

Factory method that calls BIO_new() with BIO_f_md()
public static MessageDigest ( OpenSSL.Crypto.MessageDigest md ) : BIO
md OpenSSL.Crypto.MessageDigest
리턴 BIO

OnDispose() 보호된 메소드

Calls BIO_free()
protected OnDispose ( ) : void
리턴 void

Push() 공개 메소드

Calls BIO_push()
public Push ( BIO bio ) : void
bio BIO
리턴 void

ReadBytes() 공개 메소드

Calls BIO_read()
public ReadBytes ( int count ) : ArraySegment
count int
리턴 ArraySegment

ReadString() 공개 메소드

Calls BIO_gets()
public ReadString ( ) : string
리턴 string

SetClose() 공개 메소드

Calls BIO_set_close()
public SetClose ( CloseOption opt ) : void
opt CloseOption
리턴 void

Write() 공개 메소드

Calls BIO_write()
public Write ( byte buf ) : void
buf byte
리턴 void

Write() 공개 메소드

Calls BIO_write()
public Write ( byte buf, int len ) : void
buf byte
len int
리턴 void

Write() 공개 메소드

Calls BIO_puts()
public Write ( string str ) : void
str string
리턴 void

Write() 공개 메소드

Calls BIO_write()
public Write ( uint value ) : void
value uint
리턴 void

Write() 공개 메소드

Calls BIO_write()
public Write ( ushort value ) : void
value ushort
리턴 void