|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.turbine.services.BaseInitable
org.apache.turbine.services.BaseService
org.apache.turbine.services.crypto.TurbineCryptoService
An implementation of CryptoService that uses either supplied crypto Algorithms (provided in Turbine.Services.properties) or tries to get them via the normal java mechanisms if this fails.
| Field Summary |
| Fields inherited from class org.apache.turbine.services.BaseService |
configuration, name, serviceBroker |
| Fields inherited from class org.apache.turbine.services.BaseInitable |
initableBroker, isInitialized |
| Fields inherited from interface org.apache.turbine.services.crypto.CryptoService |
SERVICE_NAME |
| Constructor Summary | |
TurbineCryptoService()
|
|
| Method Summary | |
CryptoAlgorithm |
getCryptoAlgorithm(java.lang.String algo)
Returns a CryptoAlgorithm Object which represents the requested crypto algorithm. |
void |
init()
There is not much to initialize here. |
| Methods inherited from class org.apache.turbine.services.BaseService |
getConfiguration, getName, getProperties, getServiceBroker, setName, setServiceBroker |
| Methods inherited from class org.apache.turbine.services.BaseInitable |
getInit, getInitableBroker, init, setInit, setInitableBroker, shutdown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
| Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, setInitableBroker, shutdown |
| Constructor Detail |
public TurbineCryptoService()
| Method Detail |
public void init()
throws InitializationException
init in interface Initableinit in class BaseInitableInitializationException - Something went wrong in the init
stage
public CryptoAlgorithm getCryptoAlgorithm(java.lang.String algo)
throws java.security.NoSuchAlgorithmException
getCryptoAlgorithm in interface CryptoServicealgo - Name of the requested algorithm
java.security.NoSuchAlgorithmException - Requested algorithm is not available
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||