Package io.github.cdimascio.ecies
Class ECKeyPair
java.lang.Object
io.github.cdimascio.ecies.ECKeyPair
-
Constructor Summary
ConstructorsConstructorDescriptionECKeyPair(org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey publicKey, org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey privateKey) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKeybyte[]org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKeybyte[]getPublicBinary(boolean compressed) getPublicHex(boolean compressed)
-
Constructor Details
-
ECKeyPair
public ECKeyPair(org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey publicKey, org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey privateKey)
-
-
Method Details
-
getPublic
public org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey getPublic() -
getPrivate
public org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey getPrivate() -
getPublicBinary
public byte[] getPublicBinary(boolean compressed) -
getPrivateBinary
public byte[] getPrivateBinary() -
getPublicHex
-
getPrivateHex
-