C# Class dlech.SshAgentLib.SshKey

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

Méthodes publiques

Méthode 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 méthode

public AddConstraint ( Agent aConstraint ) : void
aConstraint Agent
Résultat void

Clone() public méthode

public Clone ( ) : SshKey
Résultat SshKey

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetPrivateKeyParameters() public méthode

public GetPrivateKeyParameters ( ) : AsymmetricKeyParameter
Résultat Org.BouncyCastle.Crypto.AsymmetricKeyParameter

GetPublicKeyParameters() public méthode

public GetPublicKeyParameters ( ) : AsymmetricKeyParameter
Résultat Org.BouncyCastle.Crypto.AsymmetricKeyParameter

SshKey() public méthode

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

SshKey() public méthode

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
Résultat System