| Constructor and Description |
|---|
Ed25519Point(byte[] b) |
Ed25519Point(com.google.protobuf.ByteString pub) |
Ed25519Point(net.i2p.crypto.eddsa.math.GroupElement e) |
Ed25519Point(Point p) |
Ed25519Point(PublicKey pub) |
Ed25519Point(String str) |
| Modifier and Type | Method and Description |
|---|---|
Point |
add(Point other) |
static Point |
base() |
Point |
copy() |
byte[] |
data() |
static Point |
embed(byte[] data) |
boolean |
equals(Point other) |
boolean |
isZero() |
Point |
mul(Scalar s) |
Point |
negate() |
byte[] |
toBytes() |
net.i2p.crypto.eddsa.EdDSAPublicKey |
toEdDSAPub() |
com.google.protobuf.ByteString |
toProto() |
String |
toString() |
public Ed25519Point(com.google.protobuf.ByteString pub)
public Ed25519Point(PublicKey pub)
public Ed25519Point(String str)
public Ed25519Point(byte[] b)
public Ed25519Point(Point p)
public Ed25519Point(net.i2p.crypto.eddsa.math.GroupElement e)
public String toString()
public net.i2p.crypto.eddsa.EdDSAPublicKey toEdDSAPub()
public byte[] data()
throws CothorityCryptoException
data in interface PointCothorityCryptoExceptionpublic static Point embed(byte[] data) throws CothorityCryptoException
CothorityCryptoExceptionpublic static Point base()
Copyright © 2018. All rights reserved.