public interface KeyCertificate extends Document
| Modifier and Type | Method and Description |
|---|---|
HexDigest |
getAuthorityFingerprint()
Return fingerprint of the authority identity key as specified in
the certificate.
|
TorPublicKey |
getAuthorityIdentityKey()
Return the authority identity public key from the certificate.
|
TorPublicKey |
getAuthoritySigningKey()
Return the authority signing public key from the certificate.
|
IPv4Address |
getDirectoryAddress()
Return the network address of this directory authority
or
null if no address was specified in the certificate. |
int |
getDirectoryPort()
Return the port on which this directory authority answers
directory requests or 0 if no port was specified in the certificate.
|
Timestamp |
getKeyExpiryTime()
Return the time after which this document and signing key are
no longer valid.
|
Timestamp |
getKeyPublishedTime()
Return the time when this document and corresponding keys were
generated.
|
boolean |
isExpired()
Return
true if the current time is past the key
expiry time of this certificate. |
getRawDocumentBytes, getRawDocumentData, isValidDocumentIPv4Address getDirectoryAddress()
null if no address was specified in the certificate.null if not available.int getDirectoryPort()
HexDigest getAuthorityFingerprint()
TorPublicKey getAuthorityIdentityKey()
TorPublicKey getAuthoritySigningKey()
Timestamp getKeyPublishedTime()
Timestamp getKeyExpiryTime()
boolean isExpired()
true if the current time is past the key
expiry time of this certificate.Copyright © 2015. All rights reserved.