public class DilithiumKeyFactory extends KeyFactorySpi
Constructor and Description |
---|
DilithiumKeyFactory() |
Modifier and Type | Method and Description |
---|---|
protected PrivateKey |
engineGeneratePrivate(KeySpec keySpec) |
protected PublicKey |
engineGeneratePublic(KeySpec keySpec) |
protected <T extends KeySpec> |
engineGetKeySpec(Key key,
Class<T> keySpec) |
protected Key |
engineTranslateKey(Key key) |
static DilithiumPrivateKey |
translatePrivateKey(PrivateKey key) |
static DilithiumPublicKey |
translatePublicKey(PublicKey key) |
public static DilithiumPublicKey translatePublicKey(PublicKey key) throws InvalidKeyException
InvalidKeyException
public static DilithiumPrivateKey translatePrivateKey(PrivateKey key) throws InvalidKeyException
InvalidKeyException
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException
engineGeneratePublic
in class KeyFactorySpi
InvalidKeySpecException
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException
engineGeneratePrivate
in class KeyFactorySpi
InvalidKeySpecException
protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException
engineGetKeySpec
in class KeyFactorySpi
InvalidKeySpecException
protected Key engineTranslateKey(Key key) throws InvalidKeyException
engineTranslateKey
in class KeyFactorySpi
InvalidKeyException
Copyright © 2020–2023 Stiftung SIC. All rights reserved.