Package org.cryptomator.cryptolib.common
Class ECKeyPair
- java.lang.Object
-
- org.cryptomator.cryptolib.common.ECKeyPair
-
- All Implemented Interfaces:
Destroyable
- Direct Known Subclasses:
P384KeyPair
public class ECKeyPair extends Object implements Destroyable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
boolean
equals(Object o)
ECPrivateKey
getPrivate()
ECPublicKey
getPublic()
int
hashCode()
boolean
isDestroyed()
KeyPair
keyPair()
-
-
-
Method Detail
-
keyPair
public KeyPair keyPair()
-
getPrivate
public ECPrivateKey getPrivate()
-
getPublic
public ECPublicKey getPublic()
-
isDestroyed
public boolean isDestroyed()
- Specified by:
isDestroyed
in interfaceDestroyable
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceDestroyable
-
-