public interface DirectorySignature
A directory signature is not a descriptor type of its own but is
part of a network status consensus
(RelayNetworkStatusConsensus
) or vote
(RelayNetworkStatusVote
).
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm()
Return the digest algorithm, which is "sha1" by default and which
can be "sha256" or another digest algorithm.
|
java.lang.String |
getIdentity()
Return the SHA-1 digest of the authority's long-term identity key in
the version 3 directory protocol, encoded as 40 upper-case
hexadecimal characters.
|
java.lang.String |
getSignature()
Return the directory signature string made with the authority's
identity key in the version 3 directory protocol.
|
java.lang.String |
getSigningKeyDigestSha1Hex()
Return the SHA-1 digest of the authority's medium-term signing key
in the version 3 directory protocol, encoded as 40 upper-case
hexadecimal characters.
|
java.lang.String getAlgorithm()
java.lang.String getIdentity()
java.lang.String getSigningKeyDigestSha1Hex()
java.lang.String getSignature()