# com.beasys.commerce.ebusiness.security Package

The `security` package enables secure handling or sensitive data. It uses RSA standard private key encryption to accomplish this objective.

## Interface Summary

Decryptor | The `Decryptor` is a Stateless Session EJB that provides decryption services.
DecryptorHome | The home interface for the Decryptor Session Bean.
Encryptor | The `Encryptor` is a Stateless Session EJB that provides encryption services.
EncryptorHome | The home interface for the Encryptor Session Bean.

## Class Summary

DecryptorImpl | The `DecryptorImpl` is the implementation used by the `Decryptor` service.
EncryptionServlet |
EncryptorImpl | The `EncryptorImpl` is the implementation used by the `Encryptor` service.
ExtendedPrivateKey |
FlexoCheck | Provides encoding of raw bytes to base64-encoded characters, and decoding of base64 characters to raw bytes.
KeyBootstrap | Used as a startup class to bootstrap public and private keys.
KeyFactory | Factory for both a private and public key.
KeyGeneratorServlet |
KeyPairGenerator | Generates a key pair using JSAFE
PrivateKeyJDBCHelper | Does the JDBC to get keys from database.
PublicKeyJDBCHelper | Does the JDBC to get keys from database.
SecurityConstants | Defines constants used in this package

## Exception Summary

CryptException | Represents encryption/decryption or key generation exceptions
InconsistentStateException | Thrown to signify that the KeyFactory has not been initialized with a password.