A B C D E F G H I L M N O P R S T U V W

A

add(InetSocketAddress) - Method in class org.asunder.AsunderBootHandles
 
addNode(String, char[]) - Method in class org.asunder.AsunderApp
Create an asunder node for DHT functionality
AsunderApp - Class in org.asunder
 
AsunderApp() - Constructor for class org.asunder.AsunderApp
Creates a new instance of AsunderApp
AsunderBaseMessage - Class in org.asunder.messaging
 
AsunderBaseMessage(Id, NodeHandle) - Constructor for class org.asunder.messaging.AsunderBaseMessage
Creates a new instance of AsunderBaseMessage
AsunderBootHandles - Class in org.asunder
 
AsunderBootHandles(String, char[]) - Constructor for class org.asunder.AsunderBootHandles
Creates a new instance of AsunderBootHandles
AsunderCache - Class in org.asunder
 
AsunderCache(Id, Environment, String, AsunderConfig) - Constructor for class org.asunder.AsunderCache
 
AsunderCache(Id, Environment, String, AsunderConfig, AsunderLogger) - Constructor for class org.asunder.AsunderCache
Creates a new instance of AsunderCache
AsunderConfig - Class in org.asunder
 
AsunderConfig(String, char[]) - Constructor for class org.asunder.AsunderConfig
Creates a new instance of AsunderConfig
AsunderConfig(char[]) - Constructor for class org.asunder.AsunderConfig
 
AsunderContent - Class in org.asunder.content
 
AsunderContent(byte[]) - Constructor for class org.asunder.content.AsunderContent
Creates a new instance of AsunderContent
AsunderContentKey - Class in org.asunder.content
 
AsunderContentKey(byte[]) - Constructor for class org.asunder.content.AsunderContentKey
 
AsunderContentManager - Class in org.asunder.content
 
AsunderContentManager() - Constructor for class org.asunder.content.AsunderContentManager
 
AsunderGetMessage - Class in org.asunder.messaging
 
AsunderGetMessage(Id, NodeHandle, DHTContentKey) - Constructor for class org.asunder.messaging.AsunderGetMessage
Creates a new instance of AsunderGetMessage
AsunderLogger - Class in org.asunder
 
AsunderLogger() - Constructor for class org.asunder.AsunderLogger
Creates a new instance of AsunderLogger
AsunderLogger.Target - Enum in org.asunder
 
AsunderMessage - Interface in org.asunder
 
AsunderNode - Class in org.asunder
 
AsunderNode(AsunderConfig, AsunderCache, PastryNode) - Constructor for class org.asunder.AsunderNode
Creates a new instance of AsunderNode
AsunderNoRouteException - Exception in org.asunder.exception
 
AsunderNoRouteException(String) - Constructor for exception org.asunder.exception.AsunderNoRouteException
Creates a new instance of AsunderNoRouteException
AsunderNoRouteException(String, Throwable) - Constructor for exception org.asunder.exception.AsunderNoRouteException
 
AsunderNoRouteMessage - Class in org.asunder.messaging
 
AsunderNoRouteMessage(Id, NodeHandle) - Constructor for class org.asunder.messaging.AsunderNoRouteMessage
 
AsunderPutMessage - Class in org.asunder.messaging
 
AsunderPutMessage(Id, NodeHandle, DHTContent) - Constructor for class org.asunder.messaging.AsunderPutMessage
Creates a new instance of AsunderPutMessage
AsunderPutSuccessMessage - Class in org.asunder.messaging
 
AsunderPutSuccessMessage(Id, NodeHandle) - Constructor for class org.asunder.messaging.AsunderPutSuccessMessage
 
AsunderTimeoutException - Exception in org.asunder.exception
 
AsunderTimeoutException(String) - Constructor for exception org.asunder.exception.AsunderTimeoutException
Creates a new instance of AsunderTimeoutException
AsunderTimeoutException(String, Throwable) - Constructor for exception org.asunder.exception.AsunderTimeoutException
 
AsunderTimeoutMessage - Class in org.asunder.messaging
 
AsunderTimeoutMessage(Id, NodeHandle) - Constructor for class org.asunder.messaging.AsunderTimeoutMessage
 
AsunderUrn - Class in org.asunder.urn
 
AsunderVerificationException - Exception in org.asunder.exception
 
AsunderVerificationException(String) - Constructor for exception org.asunder.exception.AsunderVerificationException
Creates a new instance of AsunderVerificationException

B

BitArray - Class in org.asunder.util
 

C

capacity() - Method in class org.asunder.AsunderCache
 
CHKContent - Class in org.asunder.content
 
CHKContent(byte[]) - Constructor for class org.asunder.content.CHKContent
Creates a new instance of CHKContent
CHKContentKey - Class in org.asunder.content
 
CHKContentKey(byte[]) - Constructor for class org.asunder.content.CHKContentKey
Creates a new instance of CHKContentKey
CHKContentManager - Class in org.asunder.content
 
CHKContentManager(CHKContent) - Constructor for class org.asunder.content.CHKContentManager
Creates a new instance of CHKContentManager
clear() - Method in class org.asunder.AsunderBootHandles
 
close() - Method in class org.asunder.util.PasswordProtectedObjectsFile
 
computeDataDigest() - Method in class org.asunder.content.CHKContentManager
Sets the content's kbrId to the data digest Called on locally created CHKContent to prepare it for transport This can be processor intensive, so be sure to run in a thread
computeDataDigest() - Method in class org.asunder.content.SSCHKContentManager
 
computeDataDigest() - Method in class org.asunder.content.SSKKContentManager
 
computeKbrIdBytes() - Method in class org.asunder.content.SSCHKContentManager
Computes and sets the kbr id for the content
computeKbrIdBytes() - Method in class org.asunder.content.SSKKContentManager
Computes the kbr id bytes
computeSignature(PrivateKey) - Method in class org.asunder.content.SSCHKContentManager
Computes the content's signature using the supplied private key (which must match the public key of course) as sign(prikey,concat(hash,path)) Assumes the dataDigest is correct, so be warned This can be processor intensive, so be sure to run in a thread
computeSignature(PrivateKey) - Method in class org.asunder.content.SSKKContentManager
Computes the content's signature using the supplied private key (which must match the public key of course) as sign(prikey,concat(hash,path,version)) Assumes the dataDigest is correct, so be warned This can be processor intensive, so be sure to run in a thread
content - Variable in class org.asunder.messaging.AsunderPutMessage
 
contentKey - Variable in class org.asunder.messaging.AsunderGetMessage
 
count() - Method in class org.asunder.util.NodeHandleIterator
 
CryptoUtils - Class in org.asunder.util
 

D

deliver(Id, Message) - Method in class org.asunder.AsunderNode
Deliver a message bound for this kbr application
DHTCache - Interface in org.asunder.dhtapi
 
DHTContent - Interface in org.asunder.dhtapi
 
DHTContentHashException - Exception in org.asunder.dhtapi
 
DHTContentHashException(String) - Constructor for exception org.asunder.dhtapi.DHTContentHashException
Creates a new instance of DHTContentHashException
DHTContentKey - Interface in org.asunder.dhtapi
 
DHTContentSignatureException - Exception in org.asunder.dhtapi
 
DHTContentSignatureException(String) - Constructor for exception org.asunder.dhtapi.DHTContentSignatureException
Creates a new instance of DHTContentSignatureException
DHTContinuation - Interface in org.asunder.dhtapi
This interface is identical to rice.Continuation, but is declared in org.asunder.dhtapi to keep the DHT API separate from the KBR API
DHTGetListener - Interface in org.asunder.dhtapi
 
DHTNode - Interface in org.asunder.dhtapi
 
DHTPutListener - Interface in org.asunder.dhtapi
 
DHTTransferListener - Interface in org.asunder.dhtapi
 

E

encodeContent() - Method in class org.asunder.content.AsunderContent
 
encodeContent() - Method in interface org.asunder.dhtapi.DHTContent
 
encodeContentKey() - Method in class org.asunder.content.AsunderContentKey
 
encodeContentKey() - Method in interface org.asunder.dhtapi.DHTContentKey
 
ERROR_NONE - Static variable in interface org.asunder.dhtapi.DHTTransferListener
 
ERROR_NOROUTE - Static variable in interface org.asunder.dhtapi.DHTTransferListener
 
ERROR_TIMEOUT - Static variable in interface org.asunder.dhtapi.DHTTransferListener
 

F

firstBitDiscrepancy(byte[], byte[]) - Static method in class org.asunder.util.BitArray
find the first bit where the two arrays differ assumes byte arrays are of equal length
forward(RouteMessage) - Method in class org.asunder.AsunderNode
AsunderMessage's are always routed directly to peers, so forwarding should not occur but due to the pastry implementation, sent and delivered messages cause forward() to fire.

G

generateCHKContent(byte[]) - Static method in class org.asunder.content.CHKContentManager
 
generateDigest(String, InputStream) - Static method in class org.asunder.util.CryptoUtils
 
generateDSAKeyPair() - Static method in class org.asunder.util.CryptoUtils
 
generateSignature(String, PrivateKey, InputStream) - Static method in class org.asunder.util.CryptoUtils
 
generateSSCHKContent(byte[], PublicKey, PrivateKey, String) - Static method in class org.asunder.content.SSCHKContentManager
 
generateSSCHKContentKey(byte[], PublicKey, String) - Static method in class org.asunder.content.SSCHKContentManager
Don't really know how fast this will run, so no recommendation on running in separate thread
generateSSKKContent(byte[], PublicKey, PrivateKey, String, long) - Static method in class org.asunder.content.SSKKContentManager
Generates subspace-signed keyword-key content which may be inserted into the Asunder DHT
generateSSKKContentKey(PublicKey, String) - Static method in class org.asunder.content.SSKKContentManager
Generates a content key that may be used to search for content on the Asunder DHT
getAcceptanceFactor() - Method in class org.asunder.AsunderCache
 
getCache() - Method in class org.asunder.AsunderNode
 
getCache() - Method in interface org.asunder.dhtapi.DHTNode
 
getCandidates(Id) - Method in class org.asunder.AsunderNode
 
getComputedDataDigest() - Method in class org.asunder.content.SSCHKContentManager
 
getComputedKbrIdBytes() - Method in class org.asunder.content.SSCHKContentManager
Computes the kbrId bytes as digest(concat(pubkey,hash,path))
getComputedKbrIdBytes() - Method in class org.asunder.content.SSKKContentManager
Computes the kbrId bytes as digest(concat(pubkey,path))
getConfig() - Method in class org.asunder.AsunderNode
 
getContent(DHTContentKey, long, DHTGetListener) - Method in class org.asunder.AsunderNode
Search for content on the DHT with a newly generated messageId
getContent(DHTContentKey, long, DHTGetListener) - Method in interface org.asunder.dhtapi.DHTNode
 
getContent() - Method in class org.asunder.messaging.AsunderPutMessage
 
getContentKey() - Method in class org.asunder.content.CHKContent
 
getContentKey() - Method in class org.asunder.content.CHKContentManager
 
getContentKey() - Method in class org.asunder.content.SSCHKContent
 
getContentKey() - Method in class org.asunder.content.SSCHKContentManager
 
getContentKey() - Method in class org.asunder.content.SSKKContent
 
getContentKey() - Method in class org.asunder.content.SSKKContentManager
 
getContentKey() - Method in interface org.asunder.dhtapi.DHTContent
 
getContentKey() - Method in class org.asunder.messaging.AsunderGetMessage
 
getContentLength() - Method in class org.asunder.content.AsunderContent
 
getContentLength() - Method in interface org.asunder.dhtapi.DHTContent
 
getDataDigest() - Method in class org.asunder.content.CHKContentManager
get the (not necessarily verified) data digest
getDataDigest() - Method in class org.asunder.content.SSCHKContentManager
 
getDataDigest() - Method in class org.asunder.content.SSKKContentManager
 
getId() - Method in class org.asunder.AsunderNode
 
getId() - Method in class org.asunder.content.AsunderContentKey
 
getIntParam(String) - Method in class org.asunder.AsunderConfig
 
getLeafSet() - Method in class org.asunder.AsunderNode
 
getManager(AsunderContent) - Static method in class org.asunder.content.AsunderContentManager
 
getMessageId() - Method in interface org.asunder.AsunderMessage
 
getMessageId() - Method in class org.asunder.messaging.AsunderBaseMessage
 
getParam(String) - Method in class org.asunder.AsunderConfig
 
getPath() - Method in class org.asunder.content.SSCHKContentManager
 
getPath() - Method in class org.asunder.content.SSKKContentManager
 
getPriority() - Method in class org.asunder.messaging.AsunderGetMessage
 
getPriority() - Method in class org.asunder.messaging.AsunderNoRouteMessage
 
getPriority() - Method in class org.asunder.messaging.AsunderPutMessage
 
getPriority() - Method in class org.asunder.messaging.AsunderPutSuccessMessage
 
getPriority() - Method in class org.asunder.messaging.AsunderTimeoutMessage
 
getPublicKey() - Method in class org.asunder.content.SSCHKContentManager
 
getPublicKey() - Method in class org.asunder.content.SSKKContentManager
 
getSenderHandle() - Method in interface org.asunder.AsunderMessage
 
getSenderHandle() - Method in class org.asunder.messaging.AsunderBaseMessage
 
getSignature() - Method in class org.asunder.content.SSCHKContentManager
 
getSignature() - Method in class org.asunder.content.SSKKContentManager
 
getVersion() - Method in class org.asunder.content.SSKKContentManager
 

H

hasNext() - Method in class org.asunder.util.NodeHandleIterator
 
hasParam(String) - Method in class org.asunder.AsunderConfig
 
haveContent(DHTContentKey) - Method in class org.asunder.AsunderCache
Checks if the content for this key is already stored

I

initiateJoin(NodeHandle) - Method in class org.asunder.AsunderNode
 
installAsunder(char[], String) - Static method in class org.asunder.AsunderApp
Creates an RSA keypair, a keystore, and sets some basic config params
iterator() - Method in class org.asunder.AsunderBootHandles
 

L

load() - Method in class org.asunder.AsunderBootHandles
load addresses using file name and password from constructor note that this step is optional - you can call save() without having called load()
load() - Method in class org.asunder.AsunderConfig
 
loadContent(DHTContentKey, DHTContinuation) - Method in class org.asunder.AsunderCache
Retrieve content from storage.
loadContent(DHTContentKey, DHTContinuation) - Method in interface org.asunder.dhtapi.DHTCache
 
log(String, int) - Method in class org.asunder.AsunderLogger
 
log(String) - Method in class org.asunder.AsunderLogger
 
LOG_LEVEL_CRITICAL - Static variable in class org.asunder.AsunderLogger
 
LOG_LEVEL_INFO - Static variable in class org.asunder.AsunderLogger
 
LOG_LEVEL_NONE - Static variable in class org.asunder.AsunderLogger
 
LOG_LEVEL_SERIOUS - Static variable in class org.asunder.AsunderLogger
 
LOG_LEVEL_WARNING - Static variable in class org.asunder.AsunderLogger
 
logError(String, NodeHandle) - Method in class org.asunder.AsunderLogger
 
logException(Exception, NodeHandle) - Method in class org.asunder.AsunderLogger
 
logInfo(String, NodeHandle) - Method in class org.asunder.AsunderLogger
 
logMessage(boolean, NodeHandle, NodeHandle, AsunderMessage) - Method in class org.asunder.AsunderLogger
 

M

messageId - Variable in class org.asunder.messaging.AsunderBaseMessage
 

N

next() - Method in class org.asunder.util.NodeHandleIterator
 
NodeHandleIterator - Class in org.asunder.util
 
NodeHandleIterator(NodeHandleSet) - Constructor for class org.asunder.util.NodeHandleIterator
 

O

openContentStream(DHTContentKey, DHTContinuation) - Method in class org.asunder.AsunderCache
TODO
openContentStream(DHTContentKey, DHTContinuation) - Method in interface org.asunder.dhtapi.DHTCache
 
openRead() - Method in class org.asunder.util.PasswordProtectedObjectsFile
 
openWrite(boolean) - Method in class org.asunder.util.PasswordProtectedObjectsFile
 
org.asunder - package org.asunder
 
org.asunder.content - package org.asunder.content
 
org.asunder.dhtapi - package org.asunder.dhtapi
 
org.asunder.exception - package org.asunder.exception
 
org.asunder.messaging - package org.asunder.messaging
 
org.asunder.urn - package org.asunder.urn
 
org.asunder.util - package org.asunder.util
 

P

parseMagnetLink(String) - Static method in class org.asunder.urn.AsunderUrn
create a content key from a magnet link
PasswordProtectedObjectsFile - Class in org.asunder.util
 
PasswordProtectedObjectsFile(String, char[]) - Constructor for class org.asunder.util.PasswordProtectedObjectsFile
Creates a new instance of PasswordProtectedObjectsFile
permitsOverwrite() - Method in class org.asunder.content.CHKContent
 
permitsOverwrite() - Method in class org.asunder.content.SSCHKContent
 
permitsOverwrite() - Method in class org.asunder.content.SSKKContent
SSKKContent may be overwritten with a newer version, so always returns true
permitsOverwrite() - Method in interface org.asunder.dhtapi.DHTContent
 
putContent(DHTContent, long, DHTPutListener) - Method in class org.asunder.AsunderNode
Publish content on the DHT using a new messageId most commonly used by a higher level app running this node
putContent(DHTContent, long, DHTPutListener) - Method in interface org.asunder.dhtapi.DHTNode
 

R

read() - Method in class org.asunder.util.PasswordProtectedObjectsFile
 
receiveException(Exception) - Method in interface org.asunder.dhtapi.DHTContinuation
Called when an execption occured as a result of the previous command.
receiveResult(Object) - Method in interface org.asunder.dhtapi.DHTContinuation
Called when a previously requested result is now availble.
remove(InetSocketAddress) - Method in class org.asunder.AsunderBootHandles
 
remove() - Method in class org.asunder.util.NodeHandleIterator
 
reverseBytes(byte[]) - Static method in class org.asunder.util.BitArray
 

S

save() - Method in class org.asunder.AsunderBootHandles
 
save() - Method in class org.asunder.AsunderConfig
 
saveState() - Method in class org.asunder.AsunderApp
 
senderHandle - Variable in class org.asunder.messaging.AsunderBaseMessage
 
setAcceptanceFactor(int) - Method in class org.asunder.AsunderCache
 
setIntParam(String, int) - Method in class org.asunder.AsunderConfig
 
setLogLevel(int) - Method in class org.asunder.AsunderLogger
 
setLogLevel(int) - Method in class org.asunder.AsunderNode
 
setLogTarget(AsunderLogger.Target) - Method in class org.asunder.AsunderLogger
 
setParam(String, String) - Method in class org.asunder.AsunderConfig
 
setSenderHandle(NodeHandle) - Method in interface org.asunder.AsunderMessage
 
setSenderHandle(NodeHandle) - Method in class org.asunder.messaging.AsunderBaseMessage
 
SSCHKContent - Class in org.asunder.content
Subspace-signed content-hashed content Includes a signature and a public key which verifies the signature
SSCHKContent(byte[], PublicKey, String) - Constructor for class org.asunder.content.SSCHKContent
Creates a new instance of SSCHKContent
SSCHKContentKey - Class in org.asunder.content
 
SSCHKContentKey(byte[]) - Constructor for class org.asunder.content.SSCHKContentKey
Creates a new instance of SSCHKContentKey
SSCHKContentManager - Class in org.asunder.content
 
SSCHKContentManager(SSCHKContent) - Constructor for class org.asunder.content.SSCHKContentManager
Creates a new instance of SSCHKContentManager
SSKKContent - Class in org.asunder.content
Subspace-signed keyword-keyed content Includes a signature and a public key which verifies the signature
SSKKContent(byte[], PublicKey, String, long) - Constructor for class org.asunder.content.SSKKContent
Creates a new instance of SSCHKContent
SSKKContentKey - Class in org.asunder.content
 
SSKKContentKey(byte[]) - Constructor for class org.asunder.content.SSKKContentKey
Creates a new instance of SSKKContentKey
SSKKContentManager - Class in org.asunder.content
 
SSKKContentManager(SSKKContent) - Constructor for class org.asunder.content.SSKKContentManager
Creates a new instance of SSKKContentManager
storeContent(DHTContent, DHTContinuation, boolean) - Method in class org.asunder.AsunderCache
Write the content to disk
storeContent(DHTContent, DHTContinuation) - Method in class org.asunder.AsunderCache
Non-forcing version of storeContent (follows policies)
storeContent(DHTContent, DHTContinuation) - Method in interface org.asunder.dhtapi.DHTCache
 
storeKeyPair(KeyStore, String, char[], KeyPair, String, char[]) - Static method in class org.asunder.util.CryptoUtils
 

T

toMagnetLink(AsunderContent) - Static method in class org.asunder.urn.AsunderUrn
generate a magnet link from a content key which conforms to: [digest][.signature][.modulus][.pubexp][.version][.path]

U

update(NodeHandle, boolean) - Method in class org.asunder.AsunderNode
Notification of nodes joining/leaving.
usage() - Method in class org.asunder.AsunderCache
 

V

valueOf(String) - Static method in enum org.asunder.AsunderLogger.Target
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.asunder.AsunderLogger.Target
Returns an array containing the constants of this enum type, in the order they're declared.
verifyContent() - Method in class org.asunder.content.AsunderContentManager
 
verifyContent() - Method in class org.asunder.content.CHKContentManager
 
verifyContent() - Method in class org.asunder.content.SSCHKContentManager
 
verifyContent() - Method in class org.asunder.content.SSKKContentManager
 
verifyDataDigest() - Method in class org.asunder.content.CHKContentManager
Verifies the digest of content that has been received by the local node
verifyDataDigest() - Method in class org.asunder.content.SSCHKContentManager
 
verifyDataDigest() - Method in class org.asunder.content.SSKKContentManager
 
verifyKbrIdBytes() - Method in class org.asunder.content.SSCHKContentManager
Verifies the the kbr ID is properly computed from the public key, data digest, and (optional) path
verifyKbrIdBytes() - Method in class org.asunder.content.SSKKContentManager
 
verifySignature() - Method in class org.asunder.content.SSCHKContentManager
Verifies the contents signature.
verifySignature() - Method in class org.asunder.content.SSKKContentManager
Verifies the contents signature.
verifySignature(String, PublicKey, InputStream, byte[]) - Static method in class org.asunder.util.CryptoUtils
 

W

wantContent(DHTContentKey) - Method in class org.asunder.AsunderCache
this is a non-deterministic method! Probability of returning true increases as contentKey approaches center
wantContent(DHTContentKey) - Method in interface org.asunder.dhtapi.DHTCache
 
write(Object) - Method in class org.asunder.util.PasswordProtectedObjectsFile
 

A B C D E F G H I L M N O P R S T U V W