public class BCSDitHPrivateKey extends java.lang.Object implements java.security.PrivateKey, SDitHKey
| Constructor and Description |
|---|
BCSDitHPrivateKey(PrivateKeyInfo keyInfo) |
BCSDitHPrivateKey(SDitHPrivateKeyParameters params) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
SDitHParameterSpec |
getParameterSpec()
Return the parameter spec associated with this SDitH key.
|
int |
hashCode() |
public BCSDitHPrivateKey(SDitHPrivateKeyParameters params)
public BCSDitHPrivateKey(PrivateKeyInfo keyInfo) throws java.io.IOException
java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic final java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic SDitHParameterSpec getParameterSpec()
SDitHKeygetParameterSpec in interface SDitHKeypublic java.lang.String getFormat()
getFormat in interface java.security.Key