public static class COMPOSITE.KeyFactory extends BaseKeyFactorySpi
Constructor and Description |
---|
KeyFactory() |
Modifier and Type | Method and Description |
---|---|
protected Key |
engineTranslateKey(Key key) |
PrivateKey |
generatePrivate(PrivateKeyInfo keyInfo) |
PublicKey |
generatePublic(SubjectPublicKeyInfo keyInfo) |
engineGeneratePrivate, engineGeneratePublic, engineGetKeySpec
protected Key engineTranslateKey(Key key) throws InvalidKeyException
engineTranslateKey
in class KeyFactorySpi
InvalidKeyException
public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws IOException
IOException
public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws IOException
IOException
Copyright © 2021 BouncyCastle.org. All rights reserved.