C# 클래스 Renci.SshNet.Common.DerData

Base class for DER encoded data.
파일 보기 프로젝트 열기: sshnet/SSH.NET 1 사용 예제들

공개 메소드들

메소드 설명
DerData ( ) : System

Initializes a new instance of the DerData class.

DerData ( byte data ) : System

Initializes a new instance of the DerData class.

Encode ( ) : byte[]

Encodes written data as DER byte array.

ReadBigInteger ( ) : BigInteger

Reads next mpint data type from internal buffer.

ReadInteger ( ) : int

Reads next int data type from internal buffer.

Write ( BigInteger data ) : void

Writes INTEGER data into internal buffer.

Write ( DerData data ) : void

Writes DerData data into internal buffer.

Write ( ObjectIdentifier identifier ) : void

Writes OBJECTIDENTIFIER data into internal buffer.

Write ( bool data ) : void

Writes BOOLEAN data into internal buffer.

Write ( byte data ) : void

Writes OCTETSTRING data into internal buffer.

Write ( uint data ) : void

Writes UInt32 data into internal buffer.

WriteNull ( ) : void

Writes NULL data into internal buffer.

비공개 메소드들

메소드 설명
GetLength ( int length ) : IEnumerable
ReadByte ( ) : byte
ReadBytes ( int length ) : byte[]
ReadLength ( ) : int
WriteBytes ( IEnumerable data ) : void

메소드 상세

DerData() 공개 메소드

Initializes a new instance of the DerData class.
public DerData ( ) : System
리턴 System

DerData() 공개 메소드

Initializes a new instance of the DerData class.
public DerData ( byte data ) : System
data byte DER encoded data.
리턴 System

Encode() 공개 메소드

Encodes written data as DER byte array.
public Encode ( ) : byte[]
리턴 byte[]

ReadBigInteger() 공개 메소드

Reads next mpint data type from internal buffer.
public ReadBigInteger ( ) : BigInteger
리턴 BigInteger

ReadInteger() 공개 메소드

Reads next int data type from internal buffer.
public ReadInteger ( ) : int
리턴 int

Write() 공개 메소드

Writes INTEGER data into internal buffer.
public Write ( BigInteger data ) : void
data BigInteger BigInteger data to write.
리턴 void

Write() 공개 메소드

Writes DerData data into internal buffer.
public Write ( DerData data ) : void
data DerData DerData data to write.
리턴 void

Write() 공개 메소드

Writes OBJECTIDENTIFIER data into internal buffer.
public Write ( ObjectIdentifier identifier ) : void
identifier ObjectIdentifier The identifier.
리턴 void

Write() 공개 메소드

Writes BOOLEAN data into internal buffer.
public Write ( bool data ) : void
data bool UInt32 data to write.
리턴 void

Write() 공개 메소드

Writes OCTETSTRING data into internal buffer.
public Write ( byte data ) : void
data byte The data.
리턴 void

Write() 공개 메소드

Writes UInt32 data into internal buffer.
public Write ( uint data ) : void
data uint UInt32 data to write.
리턴 void

WriteNull() 공개 메소드

Writes NULL data into internal buffer.
public WriteNull ( ) : void
리턴 void