public class BCMayoPrivateKey extends java.lang.Object implements java.security.PrivateKey, MayoKey
| Constructor and Description |
|---|
BCMayoPrivateKey(MayoPrivateKeyParameters params) |
BCMayoPrivateKey(PrivateKeyInfo keyInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this private key with another object.
|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
MayoParameterSpec |
getParameterSpec()
Return the parameters for this key.
|
int |
hashCode() |
public BCMayoPrivateKey(MayoPrivateKeyParameters params)
public BCMayoPrivateKey(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 MayoParameterSpec getParameterSpec()
MayoKeygetParameterSpec in interface MayoKeypublic java.lang.String getFormat()
getFormat in interface java.security.Key