/[classpath]/classpath/java/security/KeyFactorySpi.java
ViewVC logotype

Diff of /classpath/java/security/KeyFactorySpi.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4.2.2 by gnu_andrew, Tue Aug 2 20:12:24 2005 UTC revision 1.4.2.3 by tromey, Fri Nov 25 21:35:16 2005 UTC
# Line 113  public abstract class KeyFactorySpi Line 113  public abstract class KeyFactorySpi
113     * is inappropriate for this key or the key is     * is inappropriate for this key or the key is
114     * unrecognized.     * unrecognized.
115     */     */
116    protected abstract KeySpec engineGetKeySpec(Key key, Class keySpec)    protected abstract <T extends KeySpec> T engineGetKeySpec(Key key,
117                                                                Class<T> keySpec)
118      throws InvalidKeySpecException;      throws InvalidKeySpecException;
119    
120    
# Line 121  public abstract class KeyFactorySpi Line 122  public abstract class KeyFactorySpi
122     * Translates the key from an unknown or untrusted provider     * Translates the key from an unknown or untrusted provider
123     * into a key for this key factory.     * into a key for this key factory.
124     *     *
125     * @param the key from an unknown or untrusted provider     * @param key key from an unknown or untrusted provider
126     *     *
127     * @return the translated key     * @return the translated key
128     *     *
129     * @throws InvalidKeySpecException if the key cannot be     * @throws InvalidKeyException if the key cannot be
130     * processed by this key factory     * processed by this key factory
131     */     */
132    protected abstract Key engineTranslateKey(Key key)    protected abstract Key engineTranslateKey(Key key)

Legend:
Removed from v.1.4.2.2  
changed lines
  Added in v.1.4.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26