Class BCSphincs256PrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.sphincs.BCSphincs256PrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable, SPHINCSKey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBCSphincs256PrivateKey(ASN1ObjectIdentifier treeDigest, SPHINCSPrivateKeyParameters params) BCSphincs256PrivateKey(PrivateKeyInfo keyInfo) -
Method Summary
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AsymmetricKey
getParamsMethods inherited from interface Destroyable
destroy, isDestroyed
-
Constructor Details
-
BCSphincs256PrivateKey
-
BCSphincs256PrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "SPHINCS-256"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getFormat
-
getKeyData
public byte[] getKeyData()- Specified by:
getKeyDatain interfaceSPHINCSKey
-