java.security
Class KeyFactory
java.lang.Object
java.security.KeyFactory
public class KeyFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyFactory
protected KeyFactory(KeyFactorySpi var0,
Provider var1,
String var2)
generatePrivate
public final PrivateKey generatePrivate(KeySpec var0)
throws InvalidKeySpecException
- Throws:
InvalidKeySpecException
generatePublic
public final PublicKey generatePublic(KeySpec var0)
throws InvalidKeySpecException
- Throws:
InvalidKeySpecException
getAlgorithm
public final String getAlgorithm()
getInstance
public static KeyFactory getInstance(String var0)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
getInstance
public static KeyFactory getInstance(String var0,
String var1)
throws NoSuchAlgorithmException,
NoSuchProviderException
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
getKeySpec
public final KeySpec getKeySpec(Key var0,
Class var1)
throws InvalidKeySpecException
- Throws:
InvalidKeySpecException
getProvider
public final Provider getProvider()
translateKey
public final Key translateKey(Key var0)
throws InvalidKeyException
- Throws:
InvalidKeyException
Copyright © 2006-2010 OSGi Alliance. All Rights Reserved.