org.ccnx.ccn.test.io.content.PublicKeyObjectTestRepo Class Reference

Test reading and writing versioned, encoded PublicKeys to a repository. More...

List of all members.

Public Member Functions

void testRawPublicKeyObject () throws Exception
void testRepoPublicKeyObject () throws Exception
void testUnversionedPublicKeyObject () throws Exception
void testRawKeyReadWrite (ContentName keyName, PublicKey key, PublicKey optional2ndKey) throws ConfigurationException, IOException, VersionMissingException
void testRepoKeyReadWrite (ContentName keyName, PublicKey key, PublicKey optional2ndKey) throws ConfigurationException, IOException, VersionMissingException

Static Public Member Functions

static void setUpBeforeClass () throws Exception
static void cleanupAfterClass ()

Static Public Attributes

static KeyPair pair1 = null
static KeyPair pair2 = null
static KeyPair dsaPair = null
static KeyPair dhPair = null
static int NUM_ALGORITHMS = 3
static ContentName[][] storedKeyNames = new ContentName[2][NUM_ALGORITHMS]
static CCNHandle handle = null

Static Package Attributes

static CCNTestHelper testHelper = new CCNTestHelper(PublicKeyObjectTestRepo.class)
 Handle naming for the test.
static Flosser flosser = null


Detailed Description

Test reading and writing versioned, encoded PublicKeys to a repository.

We have separated out reading and writing El Gamal and ECC public keys, because BouncyCastle doesn't support all algorithms out of the box on certain platforms. See apps/extras/ExpandedCryptoTests for the full tests.


The documentation for this class was generated from the following file:

Generated on Thu Feb 16 00:45:09 2012 for Content-Centric Networking in Java by  doxygen 1.5.6