com.jxml.qare.qhome.db
Class DBKeyPair

java.lang.Object
  |
  +--com.jxml.qare.qhome.db.DBBase
        |
        +--com.jxml.qare.qhome.db.DBKeyPair

public final class DBKeyPair
extends DBBase


Inner Class Summary
 class DBKeyPair.Row
           
 
Field Summary
static BigInteger dhA
           
static BigInteger dhP
           
 
Fields inherited from class com.jxml.qare.qhome.db.DBBase
createListeners, dbBases, deleteListeners, fileDateFormat, restored
 
Method Summary
 void backup(DataOutputStream dos)
           
 DBKeyPair.Row create(String dhPrivateKey, String dhPublicKey, String dsaPrivateKey, String dsaPublicKey)
           
 DBRow createObj(ResultSet rs)
           
 void createTable()
           
 DBKeyPair.Row get()
           
 void makeKeys()
           
 void restore(String fileNamePrefix, DataInputStream dis)
           
 String tableName()
           
 
Methods inherited from class com.jxml.qare.qhome.db.DBBase
addCreateListener, addDeleteListener, addKey, backup, backupString, clearRef, create, createCurrentDate, createTable, deleteWeak, executeUpdate, getRow, getRows, getRows, getWeak, removeCreateListener, removeDeleteListener, restore, restoreString, sendCreateEvent, sendDeleteEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dhP

public static final BigInteger dhP

dhA

public static final BigInteger dhA
Method Detail

tableName

public String tableName()
Overrides:
tableName in class DBBase

createTable

public void createTable()
                 throws Exception
Overrides:
createTable in class DBBase

create

public DBKeyPair.Row create(String dhPrivateKey,
                            String dhPublicKey,
                            String dsaPrivateKey,
                            String dsaPublicKey)
                     throws Exception

makeKeys

public void makeKeys()
              throws Exception

get

public DBKeyPair.Row get()
                  throws Exception

createObj

public DBRow createObj(ResultSet rs)
                throws Exception
Overrides:
createObj in class DBBase

backup

public void backup(DataOutputStream dos)
            throws Exception
Overrides:
backup in class DBBase

restore

public void restore(String fileNamePrefix,
                    DataInputStream dis)
             throws Exception
Overrides:
restore in class DBBase