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