java.io.Serializable, java.security.Key, java.security.PrivateKey, javax.security.auth.Destroyable, NHKey, NHPrivateKeypublic class BCNHPrivateKey extends java.lang.Object implements NHPrivateKey
| Constructor | Description |
|---|---|
BCNHPrivateKey(PrivateKeyInfo keyInfo) |
|
BCNHPrivateKey(NHPrivateKeyParameters params) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
Compare this NH private key with another object.
|
java.lang.String |
getAlgorithm() |
|
byte[] |
getEncoded() |
|
java.lang.String |
getFormat() |
|
short[] |
getSecretData() |
|
int |
hashCode() |
public BCNHPrivateKey(NHPrivateKeyParameters params)
public BCNHPrivateKey(PrivateKeyInfo keyInfo) throws java.io.IOException
java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the other 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 java.lang.String getFormat()
getFormat in interface java.security.Keypublic short[] getSecretData()
getSecretData in interface NHPrivateKey