Class BCSphincs256PrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.sphincs.BCSphincs256PrivateKey
- All Implemented Interfaces:
Serializable
,Key
,PrivateKey
,Destroyable
,SPHINCSKey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBCSphincs256PrivateKey
(ASN1ObjectIdentifier treeDigest, SPHINCSPrivateKeyParameters params) BCSphincs256PrivateKey
(PrivateKeyInfo keyInfo) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
Constructor Details
-
BCSphincs256PrivateKey
-
BCSphincs256PrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this SPHINCS-256 private 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
-