SSHKey

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(ssh_key key)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

AuthCallback
alias AuthCallback = string delegate(string prompt, bool echo, bool verify)
Undocumented in source.

Functions

dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
exportPrivateKeyToBase64
string exportPrivateKeyToBase64()
Undocumented in source. Be warned that the author may not have intended to support it.
exportPrivateKeyToFile
void exportPrivateKeyToFile(string passPhrase, string fileName, AuthCallback authFn)
Undocumented in source. Be warned that the author may not have intended to support it.
exportPrivateKeyToPublicKey
SSHKey exportPrivateKeyToPublicKey()
Undocumented in source. Be warned that the author may not have intended to support it.
getHash
ubyte[] getHash(PublicKeyHashType hashType)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

ecdsaName
string ecdsaName [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isPrivate
bool isPrivate [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isPublic
bool isPublic [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
keyType
KeyType keyType [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

generate
SSHKey generate(KeyType keyType, int bitsLength)
Undocumented in source. Be warned that the author may not have intended to support it.
importPrivateKeyFromBase64
SSHKey importPrivateKeyFromBase64(string b64, string passPhrase, AuthCallback authFn)
Undocumented in source. Be warned that the author may not have intended to support it.
importPrivateKeyFromFile
SSHKey importPrivateKeyFromFile(string fileName, string passPhrase, AuthCallback authFn)
Undocumented in source. Be warned that the author may not have intended to support it.
importPublicKeyFromBase64
SSHKey importPublicKeyFromBase64(string b64, KeyType keyType)
Undocumented in source. Be warned that the author may not have intended to support it.
importPublicKeyFromFile
SSHKey importPublicKeyFromFile(string fileName)
Undocumented in source. Be warned that the author may not have intended to support it.
isKeysEqual
bool isKeysEqual(SSHKey a, SSHKey b, KeyComparePart comparePart)
Undocumented in source. Be warned that the author may not have intended to support it.
keyTypeFromString
KeyType keyTypeFromString(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
keyTypeToString
string keyTypeToString(KeyType kt)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_key
ssh_key _key;
Undocumented in source.

Inherited Members

From Disposable

dispose
void dispose()
Undocumented in source.

Meta