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

Diff of /classpath/java/security/KeyFactory.java

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

revision 1.8.2.3 by gnu_andrew, Tue Aug 2 20:12:24 2005 UTC revision 1.8.2.4 by tromey, Fri Nov 25 21:35:16 2005 UTC
# Line 275  public class KeyFactory Line 275  public class KeyFactory
275     * inappropriate for the given key, or the given key cannot be processed     * inappropriate for the given key, or the given key cannot be processed
276     * (e.g., the given key has an unrecognized algorithm or format).     * (e.g., the given key has an unrecognized algorithm or format).
277     */     */
278    public final KeySpec getKeySpec(Key key, Class keySpec)    public final <T extends KeySpec> T getKeySpec(Key key, Class<T> keySpec)
279      throws InvalidKeySpecException      throws InvalidKeySpecException
280    {    {
281      return keyFacSpi.engineGetKeySpec(key, keySpec);      return keyFacSpi.engineGetKeySpec(key, keySpec);

Legend:
Removed from v.1.8.2.3  
changed lines
  Added in v.1.8.2.4

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