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, waitMethods 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:
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
-