| Modifier and Type | Method and Description |
|---|---|
TorPublicKey |
KeyCertificate.getAuthorityIdentityKey()
Return the authority identity public key from the certificate.
|
TorPublicKey |
KeyCertificate.getAuthoritySigningKey()
Return the authority signing public key from the certificate.
|
TorPublicKey |
Router.getIdentityKey() |
TorPublicKey |
RouterDescriptor.getIdentityKey()
Return the long-term identity and signing public key for this
router.
|
TorPublicKey |
Router.getOnionKey() |
TorPublicKey |
Descriptor.getOnionKey()
Return the public key used to encrypt EXTEND cells while establishing
a circuit through this router.
|
| Modifier and Type | Method and Description |
|---|---|
TorPublicKey |
BridgeRouterImpl.getIdentityKey() |
TorPublicKey |
BridgeRouterImpl.getOnionKey() |
| Modifier and Type | Method and Description |
|---|---|
TorPublicKey |
IntroductionPoint.getOnionKey() |
TorPublicKey |
IntroductionPoint.getServiceKey() |
| Modifier and Type | Method and Description |
|---|---|
static TorPublicKey |
TorPublicKey.createFromPEMBuffer(String buffer) |
TorPublicKey |
TorPrivateKey.getPublicKey() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
HybridEncryption.encrypt(byte[] data,
TorPublicKey publicKey)
Encrypt the entire contents of the byte array
data with the given TorPublicKey
according to the "hybrid encryption" scheme described in the main Tor specification (tor-spec.txt). |
boolean |
TorSignature.verify(TorPublicKey publicKey,
TorMessageDigest digest) |
| Constructor and Description |
|---|
TorTapKeyAgreement(TorPublicKey onionKey)
Create a new
TorKeyAgreement instance which can be used to perform a single
key agreement operation. |
| Modifier and Type | Method and Description |
|---|---|
TorPublicKey |
RouterImpl.getIdentityKey() |
TorPublicKey |
RouterImpl.getOnionKey() |
TorPublicKey |
DocumentFieldParserImpl.parsePublicKey() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DocumentFieldParserImpl.verifySignedEntity(TorPublicKey publicKey,
TorSignature signature) |
| Modifier and Type | Method and Description |
|---|---|
TorPublicKey |
KeyCertificateImpl.getAuthorityIdentityKey() |
TorPublicKey |
KeyCertificateImpl.getAuthoritySigningKey() |
| Modifier and Type | Method and Description |
|---|---|
TorPublicKey |
DocumentFieldParser.parsePublicKey()
Extract a document object following the current keyword line and interpret it as a PEM
encoded public key.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DocumentFieldParser.verifySignedEntity(TorPublicKey publicKey,
TorSignature signature)
Verify that current signature hash matches the specified
signature signed
with the public key publicKey |
| Modifier and Type | Method and Description |
|---|---|
TorPublicKey |
RouterDescriptorImpl.getIdentityKey() |
TorPublicKey |
RouterDescriptorImpl.getOnionKey() |
TorPublicKey |
RouterMicrodescriptorImpl.getOnionKey() |
| Modifier and Type | Method and Description |
|---|---|
void |
RouterDescriptorImpl.setOnionKey(TorPublicKey key) |
void |
RouterMicrodescriptorImpl.setOnionKey(TorPublicKey onionKey) |
Copyright © 2015. All rights reserved.