SafeJDBC v2.00

com.safejdbc.api
Class Status

java.lang.Object
  extended by com.safejdbc.api.Status

public final class Status
extends Object

This class contains the Status Codes returned by SafeJDBC during the initialization phase.


Field Summary
static int ALGORITHM_NOT_FOUND
          The Algorithm name is not allowed or does not exist
static int CIPHER_COMPUTING_ERROR
          Unknown cipher operation error
static int CIPHER_INIT_ERROR
          An error occurred during the Crypto engine initialization (Should never happen)
static int CRYPTO_CHALLENGE_FAILURE
          The cryptographic challenge failed (maybe because of an invalid key)
static int DRIVER_NOT_REGISTERED
          The SafeJDBC Driver could not be registered
static int ERROR_CRYPTING_DATAS
          An unknown error occurred during data encryption
static int ERROR_READING_FILE
          An unknown error occurred during the reading process
static int FILE_NOT_FOUND
          File not found
static int FILE_NOT_FOUND_IN_CLASSPATH
          File not found in the Classpath
static int FILE_UNREADABLE
          File is unreadable (may be for security reasons)
static int INVALID_ENCRYPTION_MODE
          The Encryption Mode is invalid
static int INVALID_KEY
          The key is invalid
static int INVALID_PASSPHRASE
          The passphrase is invalid
static int KEY_GENERATION_ERROR
          An unknown error occurred during key generation
static int NOT_CONNECTED_TO_APPLICATION_DB
          The connection to the Application database could not be made
static int NOT_CONNECTED_TO_SAFEJDBC_DB
          The connection to the SafeJDBC Catalog database could not be made
static int OK
          SafeJDBC Driver is loaded with a Cipher Connection
static int PASSPHRASE_SIZE_ERROR
          The passphrase is too short
static int PROVIDER_NOT_FOUND
          The Cryptographic Provider is not found (Should never happen)
static int SAFEJDBC_URL_NOT_SET
          The SafeJDBC URL name has not been set
static int UNKNOWN_ERROR
          An unknown error occured during processing
static int UNSET
          Status before any setting
static int WRAPPED_DRIVER_NOT_LOADED
          The Wrapped Driver could not be loaded
static int WRAPPED_DRIVER_NOT_SET
          The Wrapped Driver name has not been set
 
Constructor Summary
protected Status()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNSET

public static final int UNSET
Status before any setting

See Also:
Constant Field Values

OK

public static final int OK
SafeJDBC Driver is loaded with a Cipher Connection

See Also:
Constant Field Values

DRIVER_NOT_REGISTERED

public static final int DRIVER_NOT_REGISTERED
The SafeJDBC Driver could not be registered

See Also:
Constant Field Values

WRAPPED_DRIVER_NOT_SET

public static final int WRAPPED_DRIVER_NOT_SET
The Wrapped Driver name has not been set

See Also:
Constant Field Values

WRAPPED_DRIVER_NOT_LOADED

public static final int WRAPPED_DRIVER_NOT_LOADED
The Wrapped Driver could not be loaded

See Also:
Constant Field Values

SAFEJDBC_URL_NOT_SET

public static final int SAFEJDBC_URL_NOT_SET
The SafeJDBC URL name has not been set

See Also:
Constant Field Values

NOT_CONNECTED_TO_APPLICATION_DB

public static final int NOT_CONNECTED_TO_APPLICATION_DB
The connection to the Application database could not be made

See Also:
Constant Field Values

NOT_CONNECTED_TO_SAFEJDBC_DB

public static final int NOT_CONNECTED_TO_SAFEJDBC_DB
The connection to the SafeJDBC Catalog database could not be made

See Also:
Constant Field Values

ALGORITHM_NOT_FOUND

public static final int ALGORITHM_NOT_FOUND
The Algorithm name is not allowed or does not exist

See Also:
Constant Field Values

PROVIDER_NOT_FOUND

public static final int PROVIDER_NOT_FOUND
The Cryptographic Provider is not found (Should never happen)

See Also:
Constant Field Values

INVALID_ENCRYPTION_MODE

public static final int INVALID_ENCRYPTION_MODE
The Encryption Mode is invalid

See Also:
Constant Field Values

CIPHER_INIT_ERROR

public static final int CIPHER_INIT_ERROR
An error occurred during the Crypto engine initialization (Should never happen)

See Also:
Constant Field Values

CIPHER_COMPUTING_ERROR

public static final int CIPHER_COMPUTING_ERROR
Unknown cipher operation error

See Also:
Constant Field Values

ERROR_CRYPTING_DATAS

public static final int ERROR_CRYPTING_DATAS
An unknown error occurred during data encryption

See Also:
Constant Field Values

CRYPTO_CHALLENGE_FAILURE

public static final int CRYPTO_CHALLENGE_FAILURE
The cryptographic challenge failed (maybe because of an invalid key)

See Also:
Constant Field Values

KEY_GENERATION_ERROR

public static final int KEY_GENERATION_ERROR
An unknown error occurred during key generation

See Also:
Constant Field Values

INVALID_KEY

public static final int INVALID_KEY
The key is invalid

See Also:
Constant Field Values

INVALID_PASSPHRASE

public static final int INVALID_PASSPHRASE
The passphrase is invalid

See Also:
Constant Field Values

PASSPHRASE_SIZE_ERROR

public static final int PASSPHRASE_SIZE_ERROR
The passphrase is too short

See Also:
Constant Field Values

FILE_NOT_FOUND

public static final int FILE_NOT_FOUND
File not found

See Also:
Constant Field Values

FILE_NOT_FOUND_IN_CLASSPATH

public static final int FILE_NOT_FOUND_IN_CLASSPATH
File not found in the Classpath

See Also:
Constant Field Values

FILE_UNREADABLE

public static final int FILE_UNREADABLE
File is unreadable (may be for security reasons)

See Also:
Constant Field Values

ERROR_READING_FILE

public static final int ERROR_READING_FILE
An unknown error occurred during the reading process

See Also:
Constant Field Values

UNKNOWN_ERROR

public static final int UNKNOWN_ERROR
An unknown error occured during processing

See Also:
Constant Field Values
Constructor Detail

Status

protected Status()

SafeJDBC v2.00

Copyright © SafeLogic 2011