Supporting classes for en- and decryption of messages.
The package is organized in a way, that there is one central class
responsible to manage the whole en- and decryption stuff. This class
is called {@link com.top_logic.base.security.util.CryptSupport}. It
provides methods for the following features:
- One way encryption: {@link
com.top_logic.base.security.util.CryptSupport#sign(java.lang.String)
Sign} an incoming message in a way, that you cannot decrypt it later.
To check, whether another message is equal to that one, use the {@link
com.top_logic.base.security.util.CryptSupport#verify(java.lang.String,java.lang.String)
verify} feature.
- Two way cryption: {@link
com.top_logic.base.security.util.CryptSupport#encodeString(java.lang.String)
Encode} an incoming message to store it somewhere. This message can be
reconstructed by the {@link com.top_logic.base.security.util.CryptSupport#decodeString(java.lang.String)
decode} method later.
The keys for this operations will be stored in the $TOP_LOGIC$/database/keys
directory. If there are no such keys, they will be generated by the matching
classes. This is transparent to the user!
Copyright © 2001-2006 Business Operation Systems GmbH. All Rights Reserved.