public class BCSphincs256PrivateKey extends Object implements PrivateKey, SPHINCSKey
Constructor and Description |
---|
BCSphincs256PrivateKey(ASN1ObjectIdentifier treeDigest,
SPHINCSPrivateKeyParameters params) |
BCSphincs256PrivateKey(PrivateKeyInfo keyInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compare this SPHINCS-256 private key with another object.
|
String |
getAlgorithm() |
byte[] |
getEncoded() |
String |
getFormat() |
byte[] |
getKeyData() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed
public BCSphincs256PrivateKey(ASN1ObjectIdentifier treeDigest, SPHINCSPrivateKeyParameters params)
public BCSphincs256PrivateKey(PrivateKeyInfo keyInfo) throws IOException
IOException
public boolean equals(Object o)
public final String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
public byte[] getKeyData()
getKeyData
in interface SPHINCSKey
Copyright © 2020 BouncyCastle.org. All rights reserved.