All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.statement.SessionKey

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

public class SessionKey
extends Object
implements Serializable
Implements a datastructure containing the session keys needed in a StatementTransaction.

Version:
$Revision: 1.4 $ $Date: 1998/02/04 09:28:51 $
Author:
Thomas Sepstrup Nielsen (tsn@cryptomathic.dk), Torben Pryds Pedersen (tpp@cryptomathic.dk)
See Also:
openStatementSession, StatementTransaction

Variable Index

 o decKey
 o encKey
 o genMAC
 o verMAC

Constructor Index

 o SessionKey()
Empty constructor
 o SessionKey(AlgorithmContext, byte[], boolean)
Constructs Session key and generates the key depending on a given random seed - simple implementation

Variables

 o encKey
 public CryptoKeyInfo encKey
 o decKey
 public CryptoKeyInfo decKey
 o genMAC
 public CryptoKeyInfo genMAC
 o verMAC
 public CryptoKeyInfo verMAC

Constructors

 o SessionKey
 public SessionKey()
Empty constructor

 o SessionKey
 public SessionKey(AlgorithmContext algContext,
                   byte seed[],
                   boolean server) throws StatementManException
Constructs Session key and generates the key depending on a given random seed - simple implementation

Parameters:
algContext - indicates the algorithms for which the key should be generated.
seed - is the shared random seed
server - indicates if the session key module belongs to a server or client.
Throws: StatementManException
if sessionkey could not be computed.

All Packages  Class Hierarchy  This Package  Previous  Next  Index