org.bouncycastle.jcajce.provider.asymmetric.edec
Class BCEdDSAPrivateKey
java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.edec.BCEdDSAPrivateKey
- All Implemented Interfaces:
- EdDSAKey, EdDSAPrivateKey, java.security.Key, java.security.PrivateKey, java.io.Serializable
- public class BCEdDSAPrivateKey
- extends java.lang.Object
- implements EdDSAPrivateKey
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interface java.security.Key
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat
in interface java.security.Key
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interface java.security.Key
getPublicKey
public EdDSAPublicKey getPublicKey()
- Description copied from interface:
EdDSAPrivateKey
- Return the public key associated with this private key.
- Specified by:
getPublicKey
in interface EdDSAPrivateKey
- Returns:
- an EdDSAPublicKey
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()