diff --git a/include/opendht/securedht.h b/include/opendht/securedht.h index 7590c513..fc073f99 100644 --- a/include/opendht/securedht.h +++ b/include/opendht/securedht.h @@ -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);