Bouncy Castle Cryptography Library 1.79

org.bouncycastle.pqc.jcajce.provider.dilithium
Class DilithiumKeyFactorySpi

java.lang.Object
  |
  +--java.security.KeyFactorySpi
        |
        +--org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
              |
              +--org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyFactorySpi
All Implemented Interfaces:
AsymmetricKeyInfoConverter
Direct Known Subclasses:
DilithiumKeyFactorySpi.Base2, DilithiumKeyFactorySpi.Base2_AES, DilithiumKeyFactorySpi.Base3, DilithiumKeyFactorySpi.Base3_AES, DilithiumKeyFactorySpi.Base5, DilithiumKeyFactorySpi.Base5_AES

public class DilithiumKeyFactorySpi
extends BaseKeyFactorySpi


Inner Class Summary
static class DilithiumKeyFactorySpi.Base2
           
static class DilithiumKeyFactorySpi.Base2_AES
           
static class DilithiumKeyFactorySpi.Base3
           
static class DilithiumKeyFactorySpi.Base3_AES
           
static class DilithiumKeyFactorySpi.Base5
           
static class DilithiumKeyFactorySpi.Base5_AES
           
 
Constructor Summary
DilithiumKeyFactorySpi()
           
DilithiumKeyFactorySpi(ASN1ObjectIdentifier keyOid)
           
 
Method Summary
 java.security.spec.KeySpec engineGetKeySpec(java.security.Key key, java.lang.Class keySpec)
           
 java.security.Key engineTranslateKey(java.security.Key key)
           
 java.security.PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
           
 java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
           
 
Methods inherited from class org.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
engineGeneratePrivate, engineGeneratePublic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DilithiumKeyFactorySpi

public DilithiumKeyFactorySpi()

DilithiumKeyFactorySpi

public DilithiumKeyFactorySpi(ASN1ObjectIdentifier keyOid)
Method Detail

engineGetKeySpec

public final java.security.spec.KeySpec engineGetKeySpec(java.security.Key key,
                                                         java.lang.Class keySpec)
                                                  throws java.security.spec.InvalidKeySpecException
Overrides:
engineGetKeySpec in class java.security.KeyFactorySpi

engineTranslateKey

public final java.security.Key engineTranslateKey(java.security.Key key)
                                           throws java.security.InvalidKeyException
Overrides:
engineTranslateKey in class java.security.KeyFactorySpi

generatePrivate

public java.security.PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
                                         throws java.io.IOException

generatePublic

public java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
                                       throws java.io.IOException

Bouncy Castle Cryptography Library 1.79