Class BCSLHDSAPublicKey
java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.slhdsa.BCSLHDSAPublicKey
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,SLHDSAKey
,SLHDSAPublicKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BCSLHDSAPublicKey
-
BCSLHDSAPublicKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this SPHINCS-256 public key with another object. -
hashCode
public int hashCode() -
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm - "SLH-DSA" followed by the parameter type.
-
getPublicData
public byte[] getPublicData()Description copied from interface:SLHDSAPublicKey
Return the raw encoded data representing the public key: seed || root.- Specified by:
getPublicData
in interfaceSLHDSAPublicKey
- Returns:
- the concatenation of the seed and root values.
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getFormat
-
getParameterSpec
Description copied from interface:SLHDSAKey
Return the parameters for this key.- Specified by:
getParameterSpec
in interfaceSLHDSAKey
- Returns:
- a SLHDSAParameterSpec
-
toString
-