Test basic ContentObject functionality. More...
Public Member Functions | |
void | testDecodeInputStream () |
void | testImmutable () |
void | testDigest () |
Static Public Member Functions | |
static void | setUpBeforeClass () throws Exception |
Static Public Attributes | |
static byte[] | document3 |
static Signature | signature |
static byte[] | contenthash = new byte[32] |
Static Package Attributes | |
static final String | baseName = "test" |
static final String | subName2 = "smetters" |
static final String | document2 = "test2.txt" |
static ContentName | name |
static final String | rootDN = "C=US,O=Organization,OU=Organizational Unit,CN=Issuer" |
static final String | endDN = "C=US,O=Final Org,L=Locality,CN=Fred Jones,E=fred@final.org" |
static final Date | start = new Date() |
static final Date | end = new Date(start.getTime() + (60*60*24*365)) |
static final String | keydoc = "key" |
static ContentName | keyname |
static KeyPair | pair = null |
static KeyLocator | nameLoc = null |
static KeyLocator | keyLoc = null |
static PublisherPublicKeyDigest | pubkey = null |
static SignedInfo | auth = null |
static SignedInfo | authKey = null |
Test basic ContentObject functionality.
byte [] org.ccnx.ccn.test.protocol.ContentObjectTest.document3 [static] |
new byte[]{0x01, 0x02, 0x03, 0x04,
0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c,
0x0d, 0x0e, 0x0f, 0x1f, 0x1b, 0x1c, 0x1d, 0x1e,
0x1f, 0x2e, 0x3c, 0x4a, 0x5c, 0x6d, 0x7e, 0xf}