public class JDKKeyFactory
extends java.security.KeyFactorySpi
Modifier and Type | Class and Description |
---|---|
static class |
JDKKeyFactory.CRYPTOPRO |
static class |
JDKKeyFactory.ECGOST34310 |
Constructor and Description |
---|
JDKKeyFactory() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.security.PublicKey |
createPublicKeyFromDERStream(byte[] in) |
(package private) static java.security.PublicKey |
createPublicKeyFromPublicKeyInfo(SubjectPublicKeyInfo info) |
protected java.security.PrivateKey |
engineGeneratePrivate(java.security.spec.KeySpec keySpec) |
protected java.security.PublicKey |
engineGeneratePublic(java.security.spec.KeySpec keySpec) |
protected <T extends java.security.spec.KeySpec> |
engineGetKeySpec(java.security.Key key,
java.lang.Class<T> keySpec) |
protected java.security.Key |
engineTranslateKey(java.security.Key key) |
protected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec) throws java.security.spec.InvalidKeySpecException
engineGeneratePublic
in class java.security.KeyFactorySpi
java.security.spec.InvalidKeySpecException
protected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec) throws java.security.spec.InvalidKeySpecException
engineGeneratePrivate
in class java.security.KeyFactorySpi
java.security.spec.InvalidKeySpecException
protected <T extends java.security.spec.KeySpec> T engineGetKeySpec(java.security.Key key, java.lang.Class<T> keySpec) throws java.security.spec.InvalidKeySpecException
engineGetKeySpec
in class java.security.KeyFactorySpi
java.security.spec.InvalidKeySpecException
protected java.security.Key engineTranslateKey(java.security.Key key) throws java.security.InvalidKeyException
engineTranslateKey
in class java.security.KeyFactorySpi
java.security.InvalidKeyException
static java.security.PublicKey createPublicKeyFromPublicKeyInfo(SubjectPublicKeyInfo info)
static java.security.PublicKey createPublicKeyFromDERStream(byte[] in) throws java.io.IOException, java.security.spec.InvalidKeySpecException
java.io.IOException
java.security.spec.InvalidKeySpecException
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.