Class BCEdDSAPrivateKey
- java.lang.Object
-
- org.bouncycastle.jcajce.provider.asymmetric.edec.BCEdDSAPrivateKey
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Key
,java.security.PrivateKey
,javax.security.auth.Destroyable
,EdDSAKey
,EdDSAPrivateKey
public class BCEdDSAPrivateKey extends java.lang.Object implements EdDSAPrivateKey
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getAlgorithm()
byte[]
getEncoded()
java.lang.String
getFormat()
EdDSAPublicKey
getPublicKey()
Return the public key associated with this private key.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat
in interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfacejava.security.Key
-
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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-