C# 클래스 dlech.SshAgentLib.ISshKeyExt

파일 보기 프로젝트 열기: dlech/SshAgentLib

공개 메소드들

메소드 설명
FormatSignature ( this key, byte signature ) : byte[]
Get ( this aKeyList, SshVersion aVersion, byte aPublicKeyBlob ) : ISshKey
GetAuthorizedKeyString ( this aKey ) : string
GetMD5Fingerprint ( this aKey ) : byte[]
GetPublicKeyBlob ( this aKey ) : byte[]

Gets OpenSsh formatted bytes from public key

Currently only supports RSA and DSA public keys

GetSigner ( this key ) : ISigner
HasConstraint ( this aKey, Agent aType ) : bool
addConfirmConstraint ( this aKey ) : void

Adds Agent.KeyConstraintType.SSH_AGENT_CONSTRAIN_CONFIRM constraint to key

addLifetimeConstraint ( this aKey, uint aLifetime ) : void

Adds Agent.KeyConstraintType.SSH_AGENT_CONSTRAIN_LIFETIME constraint to key

메소드 상세

FormatSignature() 공개 정적인 메소드

public static FormatSignature ( this key, byte signature ) : byte[]
key this
signature byte
리턴 byte[]

Get() 공개 정적인 메소드

public static Get ( this aKeyList, SshVersion aVersion, byte aPublicKeyBlob ) : ISshKey
aKeyList this
aVersion SshVersion
aPublicKeyBlob byte
리턴 ISshKey

GetAuthorizedKeyString() 공개 정적인 메소드

public static GetAuthorizedKeyString ( this aKey ) : string
aKey this
리턴 string

GetMD5Fingerprint() 공개 정적인 메소드

public static GetMD5Fingerprint ( this aKey ) : byte[]
aKey this
리턴 byte[]

GetPublicKeyBlob() 공개 정적인 메소드

Gets OpenSsh formatted bytes from public key
Currently only supports RSA and DSA public keys
/// AsymmetricAlgorithm is not supported ///
public static GetPublicKeyBlob ( this aKey ) : byte[]
aKey this
리턴 byte[]

GetSigner() 공개 정적인 메소드

public static GetSigner ( this key ) : ISigner
key this
리턴 ISigner

HasConstraint() 공개 정적인 메소드

public static HasConstraint ( this aKey, Agent aType ) : bool
aKey this
aType Agent
리턴 bool

addConfirmConstraint() 공개 정적인 메소드

Adds Agent.KeyConstraintType.SSH_AGENT_CONSTRAIN_CONFIRM constraint to key
public static addConfirmConstraint ( this aKey ) : void
aKey this
리턴 void

addLifetimeConstraint() 공개 정적인 메소드

Adds Agent.KeyConstraintType.SSH_AGENT_CONSTRAIN_LIFETIME constraint to key
public static addLifetimeConstraint ( this aKey, uint aLifetime ) : void
aKey this
aLifetime uint
리턴 void