Class BCSphincs256PublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.sphincs.BCSphincs256PublicKey
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,SPHINCSKey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBCSphincs256PublicKey
(ASN1ObjectIdentifier treeDigest, SPHINCSPublicKeyParameters params) -
Method Summary
-
Constructor Details
-
BCSphincs256PublicKey
-
BCSphincs256PublicKey
- 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 - "SPHINCS-256"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getFormat
-
getKeyData
public byte[] getKeyData()- Specified by:
getKeyData
in interfaceSPHINCSKey
-