All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.statement.AlgorithmContext

java.lang.Object
   |
   +----semper.statement.AlgorithmContext

public class AlgorithmContext
extends Object
implements Serializable
AlgorithmContext implements a datastructure containing a public key pair.

Version:
$Revision: 1.3 $ $Date: 1997/12/08 14:09:04 $
Author:
Thomas S. Nielsen (tsn@cryptomathic.dk), Torben P. Pedersen (tpp@cryptomathic.dk)

Variable Index

 o convAlg
Identifies the conventional crypto algorithm
 o hash
Identifies the hashing algorithm
 o keyPadding
Idnetifies the key padding to be used in case of public key encryption
 o macAlg
Identifies the MAC algorithm

Constructor Index

 o AlgorithmContext()
Creates a new, empty key information object.
 o AlgorithmContext(Hashtable)
Constructs a AlgorithmContext object from a hashtable.

Variables

 o hash
 public HashingAlgorithm hash
Identifies the hashing algorithm

 o convAlg
 public ConventionalAlgorithm convAlg
Identifies the conventional crypto algorithm

 o macAlg
 public MACAlgorithm macAlg
Identifies the MAC algorithm

 o keyPadding
 public KeyPadding keyPadding
Idnetifies the key padding to be used in case of public key encryption

Constructors

 o AlgorithmContext
 public AlgorithmContext()
Creates a new, empty key information object.

 o AlgorithmContext
 public AlgorithmContext(Hashtable table)
Constructs a AlgorithmContext object from a hashtable. The key is the security service toString, while the object is the algorithm

Parameters:
table - is a hash table identifying the algorithms to be put in the context.

All Packages  Class Hierarchy  This Package  Previous  Next  Index