C# Класс dlech.SshAgentLib.SshKey

Class for encapsulating information on encryption keys so that it can be used in PuTTY related programs
Наследование: ISshKey
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddConstraint() публичный Метод

public AddConstraint ( Agent aConstraint ) : void
aConstraint Agent
Результат void

Clone() публичный Метод

public Clone ( ) : SshKey
Результат SshKey

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

GetPrivateKeyParameters() публичный Метод

public GetPrivateKeyParameters ( ) : AsymmetricKeyParameter
Результат Org.BouncyCastle.Crypto.AsymmetricKeyParameter

GetPublicKeyParameters() публичный Метод

public GetPublicKeyParameters ( ) : AsymmetricKeyParameter
Результат Org.BouncyCastle.Crypto.AsymmetricKeyParameter

SshKey() публичный Метод

public SshKey ( SshVersion version, AsymmetricCipherKeyPair cipherKeyPair, string comment = "" ) : System
version SshVersion
cipherKeyPair Org.BouncyCastle.Crypto.AsymmetricCipherKeyPair
comment string
Результат System

SshKey() публичный Метод

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
Результат System