org.logi.crypto.protocols
Class QRAuth

java.lang.Object
  |
  +--org.logi.crypto.Crypto
        |
        +--org.logi.crypto.protocols.QRAuth
Direct Known Subclasses:
QRAuthClient, QRAuthServer

public class QRAuth
extends Crypto

Ancestor of QRAuth classes.

Author:
Logi Ragnarsson (logir@logi.org)

Fields inherited from class org.logi.crypto.Crypto
BIT, cdsPath, EMPTY_ARRAY, FOUR, keySource, NIBBLE, ONE, primeCertainty, random, TWO, ZERO
 
Constructor Summary
QRAuth(CipherKey key)
          Creates a new QRAuth object with the specified secret key.
 
Method Summary
 boolean completed()
          Returns true iff this end of the protocol is completed.
 int maxMessageSize()
          Returns the maximum expected size of a message for this protocol.
 
Methods inherited from class org.logi.crypto.Crypto
binString, binString, equal, equalRelaxed, equalSub, fromHexNibble, fromHexString, fromString, fromString, hexString, hexString, hexString, hexString, hexString, initRandom, initRandom, makeClass, makeInt, makeLong, makeSessionKey, pastSpace, pickBits, pickBits, readBlock, readInt, writeBytes, writeBytes, writeInt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QRAuth

public QRAuth(CipherKey key)
Creates a new QRAuth object with the specified secret key.
Method Detail

completed

public boolean completed()
Returns true iff this end of the protocol is completed.

maxMessageSize

public int maxMessageSize()
Returns the maximum expected size of a message for this protocol.


Copyright 1997-2000 Logi Ragnarsson