Class BCLMSPublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.lms.BCLMSPublicKey
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,LMSKey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBCLMSPublicKey
(SubjectPublicKeyInfo keyInfo) BCLMSPublicKey
(LMSKeyParameters keyParams) -
Method Summary
-
Constructor Details
-
BCLMSPublicKey
-
BCLMSPublicKey
- Throws:
IOException
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm - "LMS"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getFormat
-
equals
-
hashCode
public int hashCode() -
getLevels
public int getLevels()Description copied from interface:LMSKey
Return the number of levels (L) associated with the key.
-