org.ccnx.ccn.test.security.crypto.CCNMerkleTreeTest Class Reference

Test CCN-specific Merkle tree functionality. More...

List of all members.

Public Member Functions

void testMerkleTree () throws Exception
void testMerkleTreeBuf ()

Static Public Member Functions

static void setUpBeforeClass () throws Exception
static void testTreeWrapper (int testNodeCount, int blockWidth, boolean randomWidths)
static ContentObject[] makeContent (ContentName rootName, int numNodes, int maxLength, boolean randLengths)
static void testTree (int nodeCount, int blockWidth, boolean randomWidths) throws Exception

Static Protected Attributes

static Random _rand = new Random()
static KeyPair _pair = null

Static Package Attributes

static ContentName keyname = ContentName.fromNative(new String[]{"test","keys","treeKey"})
static ContentName baseName = ContentName.fromNative(new String[]{"test","data","treeTest"})
static KeyPair pair = null
static PublisherPublicKeyDigest publisher = null
static KeyLocator keyLoc = null

Detailed Description

Test CCN-specific Merkle tree functionality.


The documentation for this class was generated from the following file:
Generated on Fri May 13 16:27:56 2011 for Content-Centric Networking in Java by  doxygen 1.6.3