public class KeyFactory extends Object
Modifier | Constructor and Description |
---|---|
protected |
KeyFactory(KeyFactorySpi var0,
Provider var1,
String var2) |
Modifier and Type | Method and Description |
---|---|
PrivateKey |
generatePrivate(KeySpec var0) |
PublicKey |
generatePublic(KeySpec var0) |
String |
getAlgorithm() |
static KeyFactory |
getInstance(String var0) |
static KeyFactory |
getInstance(String var0,
String var1) |
KeySpec |
getKeySpec(Key var0,
Class var1) |
Provider |
getProvider() |
Key |
translateKey(Key var0) |
protected KeyFactory(KeyFactorySpi var0, Provider var1, String var2)
public final PrivateKey generatePrivate(KeySpec var0) throws InvalidKeySpecException
InvalidKeySpecException
public final PublicKey generatePublic(KeySpec var0) throws InvalidKeySpecException
InvalidKeySpecException
public final String getAlgorithm()
public static KeyFactory getInstance(String var0) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static KeyFactory getInstance(String var0, String var1) throws NoSuchAlgorithmException, NoSuchProviderException
public final KeySpec getKeySpec(Key var0, Class var1) throws InvalidKeySpecException
InvalidKeySpecException
public final Provider getProvider()
public final Key translateKey(Key var0) throws InvalidKeyException
InvalidKeyException
Copyright © 2006–2013 OSGi Alliance. All rights reserved.