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
ROLE
static final String ROLE
getCryptoAlgorithm
CryptoAlgorithm getCryptoAlgorithm(String algo)
throws 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:
NoSuchAlgorithmException
- Requested algorithm is not available
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.