Bouncy Castle Cryptography Library 1.81

org.bouncycastle.jcajce.provider.asymmetric.mldsa
Class MLDSAKeyFactorySpi

java.lang.Object
  extended byjava.security.KeyFactorySpi
      extended byorg.bouncycastle.pqc.jcajce.provider.util.BaseKeyFactorySpi
          extended byorg.bouncycastle.jcajce.provider.asymmetric.mldsa.MLDSAKeyFactorySpi
All Implemented Interfaces:
AsymmetricKeyInfoConverter
Direct Known Subclasses:
MLDSAKeyFactorySpi.Hash, MLDSAKeyFactorySpi.HashMLDSA44, MLDSAKeyFactorySpi.HashMLDSA65, MLDSAKeyFactorySpi.HashMLDSA87, MLDSAKeyFactorySpi.MLDSA44, MLDSAKeyFactorySpi.MLDSA65, MLDSAKeyFactorySpi.MLDSA87, MLDSAKeyFactorySpi.Pure

public class MLDSAKeyFactorySpi
extends BaseKeyFactorySpi


Nested Class Summary
static class MLDSAKeyFactorySpi.Hash
           
static class MLDSAKeyFactorySpi.HashMLDSA44
           
static class MLDSAKeyFactorySpi.HashMLDSA65
           
static class MLDSAKeyFactorySpi.HashMLDSA87
           
static class MLDSAKeyFactorySpi.MLDSA44
           
static class MLDSAKeyFactorySpi.MLDSA65
           
static class MLDSAKeyFactorySpi.MLDSA87
           
static class MLDSAKeyFactorySpi.Pure
           
 
Constructor Summary
MLDSAKeyFactorySpi(ASN1ObjectIdentifier keyOid)
           
MLDSAKeyFactorySpi(java.util.Set keyOids)
           
 
Method Summary
 java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec)
           
 java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec)
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MLDSAKeyFactorySpi

public MLDSAKeyFactorySpi(java.util.Set keyOids)

MLDSAKeyFactorySpi

public MLDSAKeyFactorySpi(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
Throws:
java.security.spec.InvalidKeySpecException

engineTranslateKey

public final java.security.Key engineTranslateKey(java.security.Key key)
                                           throws java.security.InvalidKeyException
Throws:
java.security.InvalidKeyException

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

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

Bouncy Castle Cryptography Library 1.81