de.flexiprovider.pqc.ots.lm
Class LMOTSPrivateKey
java.lang.Object
|
+--de.flexiprovider.api.keys.PrivateKey
|
+--de.flexiprovider.pqc.ots.lm.LMOTSPrivateKey
- All Implemented Interfaces:
- java.security.Key, Key, java.security.PrivateKey, java.io.Serializable
- public class LMOTSPrivateKey
- extends PrivateKey
This class implements a LMOTS private key.
- See Also:
LMOTSKeyPairGenerator, Serialized Form
| Fields inherited from interface java.security.Key |
serialVersionUID |
| Fields inherited from interface java.security.PrivateKey |
serialVersionUID |
|
Constructor Summary |
LMOTSPrivateKey(java.util.Vector k,
java.util.Vector l)
Construct a new LMOTS private key. |
|
Method Summary |
java.lang.String |
getAlgorithm()
|
protected codec.asn1.ASN1Type |
getAlgParams()
this method is not used in this implementation |
java.util.Vector |
getK()
|
protected byte[] |
getKeyData()
this method is not used in this implementation |
java.util.Vector |
getL()
|
protected codec.asn1.ASN1ObjectIdentifier |
getOID()
this method is not used in this implementation |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LMOTSPrivateKey
public LMOTSPrivateKey(java.util.Vector k,
java.util.Vector l)
- Construct a new LMOTS private key.
- Parameters:
k - the randomly picked Vector of Polynomials
as an element of DKi specified in the Paper
on page 10l - the randomly picked Vector of Polynomials
as an element of DLi specified in the Paper
on page 10
getK
public java.util.Vector getK()
- Returns:
- returns the K parameter of this private Key
getL
public java.util.Vector getL()
- Returns:
- returns the L parameter of this private Key
getAlgParams
protected codec.asn1.ASN1Type getAlgParams()
- this method is not used in this implementation
- Overrides:
getAlgParams in class PrivateKey
- Returns:
- null
getKeyData
protected byte[] getKeyData()
- this method is not used in this implementation
- Overrides:
getKeyData in class PrivateKey
- Returns:
- null
getOID
protected codec.asn1.ASN1ObjectIdentifier getOID()
- this method is not used in this implementation
- Overrides:
getOID in class PrivateKey
- Returns:
- null
getAlgorithm
public java.lang.String getAlgorithm()
- Returns:
- the OID of this Algorithm (NOT USED)