|
Bouncy Castle Cryptography Library 1.81 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.jcajce.MLDSAProxyPrivateKey
An ML-DSA private key wrapper which acts as a proxy to allow an ML-DSA public key to be passed in for external-mu calculation.
| Field Summary |
| Fields inherited from interface java.security.PrivateKey |
serialVersionUID |
| Constructor Summary | |
MLDSAProxyPrivateKey(java.security.PublicKey publicKey)
|
|
| Method Summary | |
java.lang.String |
getAlgorithm()
|
byte[] |
getEncoded()
|
java.lang.String |
getFormat()
|
MLDSAParameterSpec |
getParameterSpec()
Return the parameters for this key. |
byte[] |
getPrivateData()
Return the long form private data for the ML-DSA private key. |
MLDSAPrivateKey |
getPrivateKey(boolean preferSeedOnly)
Return a privateKey which will encode as seed-only or as an expanded-key. |
MLDSAPublicKey |
getPublicKey()
Return the public key corresponding to this private key. |
byte[] |
getSeed()
Return the seed the private key was generated from (if available). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MLDSAProxyPrivateKey(java.security.PublicKey publicKey)
| Method Detail |
public MLDSAPublicKey getPublicKey()
MLDSAPrivateKey
getPublicKey in interface MLDSAPrivateKeypublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic MLDSAParameterSpec getParameterSpec()
MLDSAKey
getParameterSpec in interface MLDSAKeypublic byte[] getPrivateData()
MLDSAPrivateKey
getPrivateData in interface MLDSAPrivateKeypublic byte[] getSeed()
MLDSAPrivateKey
getSeed in interface MLDSAPrivateKeypublic MLDSAPrivateKey getPrivateKey(boolean preferSeedOnly)
MLDSAPrivateKey
getPrivateKey in interface MLDSAPrivateKeypreferSeedOnly - if true, return a privateKey which will encode to seed-only if possible.
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||