Package io.github.cdimascio.ecies
Class ECKeyPair
- java.lang.Object
-
- io.github.cdimascio.ecies.ECKeyPair
-
public final class ECKeyPair extends Object
-
-
Constructor Summary
Constructors Constructor Description ECKeyPair(org.bouncycastle.jce.interfaces.ECPublicKey publicKey, org.bouncycastle.jce.interfaces.ECPrivateKey privateKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.jce.interfaces.ECPrivateKeygetPrivate()byte[]getPrivateBinary()StringgetPrivateHex()org.bouncycastle.jce.interfaces.ECPublicKeygetPublic()byte[]getPublicBinary(boolean encoded)StringgetPublicHex(boolean encoded)
-
-
-
Method Detail
-
getPublic
public org.bouncycastle.jce.interfaces.ECPublicKey getPublic()
-
getPrivate
public org.bouncycastle.jce.interfaces.ECPrivateKey getPrivate()
-
getPublicBinary
public byte[] getPublicBinary(boolean encoded)
-
getPrivateBinary
public byte[] getPrivateBinary()
-
getPublicHex
public String getPublicHex(boolean encoded)
-
getPrivateHex
public String getPrivateHex()
-
-