spki
Class benchmark
java.lang.Object
|
+--spki.benchmark
- public class benchmark
- extends Object
This program performs performance benchmarking on the class library.
run 'java spki.benchmark -h' to see run-time options available.
- Version:
- $Id: benchmark.java,v 1.4 2002/08/05 18:55:10 tep Exp $
- Author:
- Tep Narula <tep@win.trlabs.ca>, adapted from SPKI.test by Per Harald Myrvang <perm@pasta.cs.uit.no>
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
__ME
static String __ME
PAUSE
static boolean PAUSE
HASH_ALG
static String HASH_ALG
PUB_ALG
static String PUB_ALG
BITS
static int BITS
PAIRS
static int PAIRS
PUBDB_PATH
static String PUBDB_PATH
PRIVDB_PATH
static String PRIVDB_PATH
PLAINTEXT_LENGTH
static int PLAINTEXT_LENGTH
HASHING_ROUNDS
static int HASHING_ROUNDS
SIGNING_ROUNDS
static int SIGNING_ROUNDS
VERIFICATION_ROUNDS
static int VERIFICATION_ROUNDS
REDUCTION_ROUNDS
static int REDUCTION_ROUNDS
DEPTH
static int DEPTH
start
static Date start
finish
static Date finish
plaintext
static byte[] plaintext
hash
static Hash hash
keypairs
static Key[][] keypairs
pubkeys
static PublicKey[] pubkeys
privkeys
static PrivateKey[] privkeys
pub_keydb
static HashDB pub_keydb
priv_keydb
static HashDB priv_keydb
pub
static PublicKey pub
priv
static PrivateKey priv
sig
static Signature sig
seq_entries
static SeqEntry[] seq_entries
sequence
static Sequence sequence
benchmark
public benchmark()
main
public static void main(String[] args)
buildPlainText
static void buildPlainText()
throws Exception
keyGen
static void keyGen()
throws Exception
hashing
static void hashing()
throws Exception
signing
static void signing()
throws Exception
verifying
static void verifying()
throws Exception
reduceCBACDelegationChain
static void reduceCBACDelegationChain()
throws Exception
reduceRBACDelegationChain
static void reduceRBACDelegationChain()
throws Exception
reduceCBACTransferChain
static void reduceCBACTransferChain()
throws Exception
reduceCBACNameMappingChain
static void reduceCBACNameMappingChain()
throws Exception
reduceRBACTransferChain
static void reduceRBACTransferChain()
throws Exception
reduceCBACThresholdChain
static void reduceCBACThresholdChain()
throws Exception
reduceRBACThresholdChain
static void reduceRBACThresholdChain()
throws Exception