Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.ciphercore
Class ServerKeyException  view ServerKeyException download ServerKeyException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.security.GeneralSecurityException
              extended byjava.security.DigestException
                  extended bycom.ciphercore.ServerKeyException
All Implemented Interfaces:
java.io.Serializable

public class ServerKeyException
extends java.security.DigestException


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.math.BigInteger _currentDigest
           
private  java.lang.String _hostName
           
private  java.math.BigInteger _newDigest
           
private  int _type
           
static int RESPONSE_CANCEL
           
static int RESPONSE_CONTINUE
           
static int TYPE_DIGEST_CORRUPT
           
static int TYPE_HOST_UNKNOWN
           
static int TYPE_KEY_VERIFICATION_FAILURE
           
 
Fields inherited from class java.security.DigestException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ServerKeyException(int type)
           
 
Method Summary
 int doOptionDialog(javax.swing.JFrame parentFrame)
           
 java.math.BigInteger getCurrentDigest()
           
 java.lang.String getHostName()
           
 java.math.BigInteger getNewDigest()
           
 java.lang.String getNewDigestBase16()
           
 int getType()
           
 void setCurrentDigest(java.math.BigInteger digest)
           
 void setCurrentDigest(byte[] digestBytes)
           
 void setCurrentDigest(java.lang.String digestBase16)
           
 void setHostName(java.lang.String hostName)
           
protected static java.lang.String setMessage(int type)
           
 void setNewDigest(java.math.BigInteger digest)
           
 void setNewDigest(byte[] digestBytes)
           
 void setNewDigest(java.lang.String digestBase16)
           
protected  void setType(int type)
           
protected  int showNoHashDialog(javax.swing.JFrame parentFrame)
           
protected  int showVerificationFailureDialog(javax.swing.JFrame parentFrame)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_HOST_UNKNOWN

public static final int TYPE_HOST_UNKNOWN
See Also:
Constant Field Values

TYPE_KEY_VERIFICATION_FAILURE

public static final int TYPE_KEY_VERIFICATION_FAILURE
See Also:
Constant Field Values

TYPE_DIGEST_CORRUPT

public static final int TYPE_DIGEST_CORRUPT
See Also:
Constant Field Values

RESPONSE_CONTINUE

public static final int RESPONSE_CONTINUE
See Also:
Constant Field Values

RESPONSE_CANCEL

public static final int RESPONSE_CANCEL
See Also:
Constant Field Values

_type

private int _type

_hostName

private java.lang.String _hostName

_currentDigest

private java.math.BigInteger _currentDigest

_newDigest

private java.math.BigInteger _newDigest
Constructor Detail

ServerKeyException

public ServerKeyException(int type)
Method Detail

doOptionDialog

public int doOptionDialog(javax.swing.JFrame parentFrame)

setMessage

protected static java.lang.String setMessage(int type)

showNoHashDialog

protected int showNoHashDialog(javax.swing.JFrame parentFrame)

showVerificationFailureDialog

protected int showVerificationFailureDialog(javax.swing.JFrame parentFrame)

setType

protected void setType(int type)

setCurrentDigest

public void setCurrentDigest(java.math.BigInteger digest)

setNewDigest

public void setNewDigest(java.math.BigInteger digest)

setHostName

public void setHostName(java.lang.String hostName)

getType

public int getType()

getCurrentDigest

public java.math.BigInteger getCurrentDigest()

getNewDigest

public java.math.BigInteger getNewDigest()

getHostName

public java.lang.String getHostName()

getNewDigestBase16

public java.lang.String getNewDigestBase16()

setCurrentDigest

public void setCurrentDigest(java.lang.String digestBase16)

setCurrentDigest

public void setCurrentDigest(byte[] digestBytes)

setNewDigest

public void setNewDigest(java.lang.String digestBase16)

setNewDigest

public void setNewDigest(byte[] digestBytes)