C# 클래스 dlech.SshAgentLib.BlobBuilder

used to build blobs that are used for storing and sending keys in open-ssh/PuTTY format
파일 보기 프로젝트 열기: dlech/SshAgentLib 1 사용 예제들

공개 메소드들

메소드 설명
AddBigIntBlob ( BigInteger aBigInt ) : void

Adds BigInteger to builder prefixed with size

AddBlob ( byte blob ) : void

Adds byte[] to builder as sub-blob

AddByte ( byte aByte ) : void

Adds byte to the blob

AddBytes ( byte aBytes ) : void

Adds byte[] to the blob

AddInt ( UInt32 aInt ) : void
AddInt ( int aInt ) : void
AddSsh1BigIntBlob ( BigInteger aBigInt ) : void

Adds byte[] to builder as Ssh1 sub-blob

AddStringBlob ( string aString ) : void

Adds a string to the blob

BlobBuilder ( ) : System

Creates new instance of BlobBuilder

Clear ( ) : void

Writes 0 to all values, then clears list

GetBlob ( ) : byte[]

Gets the resulting blob from the blob builder.

GetBlobAsPinnedByteArray ( ) : PinnedArray
InsertHeader ( Agent aMessage ) : void

Prepends header

InsertHeader ( Agent aMessage, int aHeaderData ) : void

Prepends header

메소드 상세

AddBigIntBlob() 공개 메소드

Adds BigInteger to builder prefixed with size
public AddBigIntBlob ( BigInteger aBigInt ) : void
aBigInt Org.BouncyCastle.Math.BigInteger
리턴 void

AddBlob() 공개 메소드

Adds byte[] to builder as sub-blob
public AddBlob ( byte blob ) : void
blob byte
리턴 void

AddByte() 공개 메소드

Adds byte to the blob
public AddByte ( byte aByte ) : void
aByte byte
리턴 void

AddBytes() 공개 메소드

Adds byte[] to the blob
public AddBytes ( byte aBytes ) : void
aBytes byte
리턴 void

AddInt() 공개 메소드

public AddInt ( UInt32 aInt ) : void
aInt System.UInt32
리턴 void

AddInt() 공개 메소드

public AddInt ( int aInt ) : void
aInt int
리턴 void

AddSsh1BigIntBlob() 공개 메소드

Adds byte[] to builder as Ssh1 sub-blob
public AddSsh1BigIntBlob ( BigInteger aBigInt ) : void
aBigInt Org.BouncyCastle.Math.BigInteger
리턴 void

AddStringBlob() 공개 메소드

Adds a string to the blob
public AddStringBlob ( string aString ) : void
aString string the string to add
리턴 void

BlobBuilder() 공개 메소드

Creates new instance of BlobBuilder
public BlobBuilder ( ) : System
리턴 System

Clear() 공개 메소드

Writes 0 to all values, then clears list
public Clear ( ) : void
리턴 void

GetBlob() 공개 메소드

Gets the resulting blob from the blob builder.
public GetBlob ( ) : byte[]
리턴 byte[]

GetBlobAsPinnedByteArray() 공개 메소드

public GetBlobAsPinnedByteArray ( ) : PinnedArray
리턴 PinnedArray

InsertHeader() 공개 메소드

Prepends header
public InsertHeader ( Agent aMessage ) : void
aMessage Agent message number to include in header
리턴 void

InsertHeader() 공개 메소드

Prepends header
public InsertHeader ( Agent aMessage, int aHeaderData ) : void
aMessage Agent message number to include in header
aHeaderData int data to include in header
리턴 void