C# Class dlech.SshAgentLib.SshKey

Class for encapsulating information on encryption keys so that it can be used in PuTTY related programs
Inheritance: ISshKey
Show file Open project: dlech/SshAgentLib Class Usage Examples

Public Methods

Method Description
AddConstraint ( Agent aConstraint ) : void
Clone ( ) : SshKey
Dispose ( ) : void
GetPrivateKeyParameters ( ) : AsymmetricKeyParameter
GetPublicKeyParameters ( ) : AsymmetricKeyParameter
SshKey ( SshVersion version, AsymmetricCipherKeyPair cipherKeyPair, string comment = "" ) : System
SshKey ( SshVersion version, AsymmetricKeyParameter publicKeyParameter, AsymmetricKeyParameter privateKeyParameter = null, string comment = "" ) : System

Method Details

AddConstraint() public method

public AddConstraint ( Agent aConstraint ) : void
aConstraint Agent
return void

Clone() public method

public Clone ( ) : SshKey
return SshKey

Dispose() public method

public Dispose ( ) : void
return void

GetPrivateKeyParameters() public method

public GetPrivateKeyParameters ( ) : AsymmetricKeyParameter
return Org.BouncyCastle.Crypto.AsymmetricKeyParameter

GetPublicKeyParameters() public method

public GetPublicKeyParameters ( ) : AsymmetricKeyParameter
return Org.BouncyCastle.Crypto.AsymmetricKeyParameter

SshKey() public method

public SshKey ( SshVersion version, AsymmetricCipherKeyPair cipherKeyPair, string comment = "" ) : System
version SshVersion
cipherKeyPair Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair
comment string
return System

SshKey() public method

public SshKey ( SshVersion version, AsymmetricKeyParameter publicKeyParameter, AsymmetricKeyParameter privateKeyParameter = null, string comment = "" ) : System
version SshVersion
publicKeyParameter Org.BouncyCastle.Crypto.AsymmetricKeyParameter
privateKeyParameter Org.BouncyCastle.Crypto.AsymmetricKeyParameter
comment string
return System