securedht: add getLongId()

This commit is contained in:
Adrien Béraud committed 2017-01-19 12:09:12 -05:00
1 parent 10c70ebd12
commit 435cd554e6
1 file changed
+3
+3
View File
@@ -63,6 +63,9 @@ public:
InfoHash getId() const {
return key_ ? key_->getPublicKey().getId() : InfoHash();
}
PkId getLongId() const {
return key_ ? key_->getPublicKey().getLongId() : PkId();
}
ValueType secureType(ValueType&& type);