|
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 MLDSAPrivateKey
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public MLDSAParameterSpec getParameterSpec()
MLDSAKey
getParameterSpec
in interface MLDSAKey
public byte[] getPrivateData()
MLDSAPrivateKey
getPrivateData
in interface MLDSAPrivateKey
public byte[] getSeed()
MLDSAPrivateKey
getSeed
in interface MLDSAPrivateKey
public MLDSAPrivateKey getPrivateKey(boolean preferSeedOnly)
MLDSAPrivateKey
getPrivateKey
in interface MLDSAPrivateKey
preferSeedOnly
- 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 |