com.subgraph.orchid.DirectoryServer Maven / Gradle / Ivy
The newest version!
package com.subgraph.orchid;
import java.util.List;
import com.subgraph.orchid.data.HexDigest;
/**
* Represents a directory authority server or a directory cache.
*/
public interface DirectoryServer extends Router {
int getDirectoryPort();
boolean isV2Authority();
boolean isV3Authority();
HexDigest getV3Identity();
boolean isHiddenServiceAuthority();
boolean isBridgeAuthority();
boolean isExtraInfoCache();
KeyCertificate getCertificateByFingerprint(HexDigest fingerprint);
List getCertificates();
void addCertificate(KeyCertificate certificate);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy