org.bouncycastle.pqc.jcajce.provider.ntruplus
Class NTRUPlusKeyFactorySpi
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
org.bouncycastle.pqc.jcajce.provider.ntruplus.NTRUPlusKeyFactorySpi
- All Implemented Interfaces:
- AsymmetricKeyInfoConverter
- Direct Known Subclasses:
- NTRUPlusKeyFactorySpi.NTRUPlus1152, NTRUPlusKeyFactorySpi.NTRUPlus768, NTRUPlusKeyFactorySpi.NTRUPlus864
- public class NTRUPlusKeyFactorySpi
- extends BaseKeyFactorySpi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NTRUPlusKeyFactorySpi
public NTRUPlusKeyFactorySpi()
NTRUPlusKeyFactorySpi
public NTRUPlusKeyFactorySpi(ASN1ObjectIdentifier keyOids)
engineGeneratePrivate
public java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec)
throws java.security.spec.InvalidKeySpecException
- Overrides:
engineGeneratePrivate in class BaseKeyFactorySpi
- Throws:
java.security.spec.InvalidKeySpecException
engineGeneratePublic
public java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec)
throws java.security.spec.InvalidKeySpecException
- Overrides:
engineGeneratePublic in class BaseKeyFactorySpi
- Throws:
java.security.spec.InvalidKeySpecException
engineGetKeySpec
public final java.security.spec.KeySpec engineGetKeySpec(java.security.Key key,
java.lang.Class keySpec)
throws java.security.spec.InvalidKeySpecException
- Throws:
java.security.spec.InvalidKeySpecException
engineTranslateKey
public final java.security.Key engineTranslateKey(java.security.Key key)
throws java.security.InvalidKeyException
- Throws:
java.security.InvalidKeyException
generatePrivate
public java.security.PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
throws java.io.IOException
- Throws:
java.io.IOException
generatePublic
public java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
throws java.io.IOException
- Throws:
java.io.IOException