You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ep...@apache.org on 2003/12/05 23:42:47 UTC

cvs commit: jakarta-turbine-fulcrum/crypto/api/src/java/org/apache/fulcrum/crypto CryptoService.java

epugh       2003/12/05 14:42:47

  Modified:    crypto/api/src/java/org/apache/fulcrum/crypto
                        CryptoService.java
  Log:
  Put ROLE back in for backwards compatibilty with ECM for now...
  
  Revision  Changes    Path
  1.2       +12 -14    jakarta-turbine-fulcrum/crypto/api/src/java/org/apache/fulcrum/crypto/CryptoService.java
  
  Index: CryptoService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-fulcrum/crypto/api/src/java/org/apache/fulcrum/crypto/CryptoService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CryptoService.java	18 Nov 2003 11:44:27 -0000	1.1
  +++ CryptoService.java	5 Dec 2003 22:42:47 -0000	1.2
  @@ -66,20 +66,18 @@
    */
   public interface CryptoService
   {
  -    /** Avalon role - used to id the component within the manager */
  -    String ROLE = CryptoService.class.getName();
   
   
  -	/**
  -	 * Returns a CryptoAlgorithm Object which represents the requested
  -	 * crypto algorithm.
  -	 *
  -	 * @param algo      Name of the requested algorithm
  -	 *
  -	 * @return An Object representing the algorithm
  -	 *
  -	 * @throws NoSuchAlgorithmException  Requested algorithm is not available
  -	 *
  -	 */
  -	public CryptoAlgorithm getCryptoAlgorithm(String algo) throws NoSuchAlgorithmException;
  +  /**
  +   * Returns a CryptoAlgorithm Object which represents the requested
  +   * crypto algorithm.
  +   *
  +   * @param algo      Name of the requested algorithm
  +   *
  +   * @return An Object representing the algorithm
  +   *
  +   * @throws NoSuchAlgorithmException  Requested algorithm is not available
  +   *
  +   */
  +  public CryptoAlgorithm getCryptoAlgorithm(String algo) throws NoSuchAlgorithmException;
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org