Class BCLMSPublicKey
- java.lang.Object
-
- org.bouncycastle.pqc.jcajce.provider.lms.BCLMSPublicKey
-
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,LMSKey
public class BCLMSPublicKey extends Object implements PublicKey, LMSKey
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BCLMSPublicKey(SubjectPublicKeyInfo keyInfo)
BCLMSPublicKey(LMSKeyParameters keyParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAlgorithm()
byte[]
getEncoded()
String
getFormat()
int
getLevels()
Return the number of levels (L) associated with the key.int
hashCode()
-
-
-
Constructor Detail
-
BCLMSPublicKey
public BCLMSPublicKey(LMSKeyParameters keyParams)
-
BCLMSPublicKey
public BCLMSPublicKey(SubjectPublicKeyInfo keyInfo) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getAlgorithm
public final String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm - "LMS"
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfaceKey
-
-