C# 클래스 dlech.SshAgentLib.BlobParser

used to parse open-ssh blobs
파일 보기 프로젝트 열기: dlech/SshAgentLib 1 사용 예제들

공개 메소드들

메소드 설명
BlobParser ( Stream stream ) : System
BlobParser ( byte blob ) : System
ReadBits ( UInt32 bitCount ) : byte[]
ReadBlob ( ) : byte[]
ReadByte ( ) : byte
ReadBytes ( UInt32 blobLength ) : byte[]
ReadHeader ( ) : Agent.BlobHeader
ReadInt ( ) : UInt32
ReadShort ( ) : UInt16
ReadSsh1BigIntBlob ( ) : byte[]
ReadSsh1KeyData ( AsymmetricKeyParameter publicKeyParameter ) : AsymmetricCipherKeyPair

reads private key portion of OpenSSH ssh1 formatted key blob from stream and creates a key pair

intended to be called immediately after ParseSsh1PublicKeyData

ReadSsh1PublicKeyData ( bool reverseRsaParameters = false ) : AsymmetricKeyParameter

reads ssh1 OpenSSH formatted public key blob from stream and creates an AsymmetricKeyParameter object

ReadSsh2KeyData ( AsymmetricKeyParameter publicKeyParameter ) : AsymmetricCipherKeyPair

reads private key portion of OpenSSH formatted key blob from stream and creates a key pair

intended to be called immediately after ParseSsh2PublicKeyData

ReadSsh2PublicKeyData ( ) : AsymmetricKeyParameter

reads OpenSSH formatted public key blob and creates an AsymmetricKeyParameter object

ReadString ( ) : string

메소드 상세

BlobParser() 공개 메소드

public BlobParser ( Stream stream ) : System
stream Stream
리턴 System

BlobParser() 공개 메소드

public BlobParser ( byte blob ) : System
blob byte
리턴 System

ReadBits() 공개 메소드

public ReadBits ( UInt32 bitCount ) : byte[]
bitCount System.UInt32
리턴 byte[]

ReadBlob() 공개 메소드

public ReadBlob ( ) : byte[]
리턴 byte[]

ReadByte() 공개 메소드

public ReadByte ( ) : byte
리턴 byte

ReadBytes() 공개 메소드

public ReadBytes ( UInt32 blobLength ) : byte[]
blobLength System.UInt32
리턴 byte[]

ReadHeader() 공개 메소드

public ReadHeader ( ) : Agent.BlobHeader
리턴 Agent.BlobHeader

ReadInt() 공개 메소드

public ReadInt ( ) : UInt32
리턴 System.UInt32

ReadShort() 공개 메소드

public ReadShort ( ) : UInt16
리턴 System.UInt16

ReadSsh1BigIntBlob() 공개 메소드

public ReadSsh1BigIntBlob ( ) : byte[]
리턴 byte[]

ReadSsh1KeyData() 공개 메소드

reads private key portion of OpenSSH ssh1 formatted key blob from stream and creates a key pair
intended to be called immediately after ParseSsh1PublicKeyData
public ReadSsh1KeyData ( AsymmetricKeyParameter publicKeyParameter ) : AsymmetricCipherKeyPair
publicKeyParameter Org.BouncyCastle.Crypto.AsymmetricKeyParameter
리턴 Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair

ReadSsh1PublicKeyData() 공개 메소드

reads ssh1 OpenSSH formatted public key blob from stream and creates an AsymmetricKeyParameter object
public ReadSsh1PublicKeyData ( bool reverseRsaParameters = false ) : AsymmetricKeyParameter
reverseRsaParameters bool /// Set to true to read RSA modulus first. Normally exponent is read first. ///
리턴 Org.BouncyCastle.Crypto.AsymmetricKeyParameter

ReadSsh2KeyData() 공개 메소드

reads private key portion of OpenSSH formatted key blob from stream and creates a key pair
intended to be called immediately after ParseSsh2PublicKeyData
public ReadSsh2KeyData ( AsymmetricKeyParameter publicKeyParameter ) : AsymmetricCipherKeyPair
publicKeyParameter Org.BouncyCastle.Crypto.AsymmetricKeyParameter
리턴 Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair

ReadSsh2PublicKeyData() 공개 메소드

reads OpenSSH formatted public key blob and creates an AsymmetricKeyParameter object
public ReadSsh2PublicKeyData ( ) : AsymmetricKeyParameter
리턴 Org.BouncyCastle.Crypto.AsymmetricKeyParameter

ReadString() 공개 메소드

public ReadString ( ) : string
리턴 string