org.apache.fulcrum.crypto
Interface CryptoService
- All Known Implementing Classes:
- DefaultCryptoService
- public interface CryptoService
An implementation of CryptoService that uses either supplied crypto
Algorithms (provided in Fulcrum.properties) or tries to get them via
the normal java mechanisms if this fails.
- Author:
- Eric Pugh, Stephen McConnell
Field Summary |
static java.lang.String |
ROLE
|
ROLE
public static final java.lang.String ROLE
getCryptoAlgorithm
public CryptoAlgorithm getCryptoAlgorithm(java.lang.String algo)
throws java.security.NoSuchAlgorithmException
- Returns a CryptoAlgorithm Object which represents the requested
crypto algorithm.
- Parameters:
algo
- Name of the requested algorithm
- Returns:
- An Object representing the algorithm
- Throws:
java.security.NoSuchAlgorithmException
- Requested algorithm is not available
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.