Identity

Identity

Description: Represents this router's identity

Constructors

this
this(RSAKeyPair keys)
Undocumented in source.

Members

Functions

getFingerprint
string getFingerprint()
Undocumented in source. Be warned that the author may not have intended to support it.
getKeys
RSAKeyPair getKeys()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

generateFingerprint
string generateFingerprint(RSAKeyPair keys)

Generates a fingerprint of the public key

newIdentity
Identity newIdentity(uint rsaBitLength)

Creates a new router identity. This includes generating a new set of the following: 1. An RSA key-pair 2. TODO

validateKeys
bool validateKeys(RSAKeyPair keys)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta