| Package | Description |
|---|---|
| ch.epfl.dedis.calypso | |
| ch.epfl.dedis.lib.crypto | |
| ch.epfl.dedis.lib.darc | |
| ch.epfl.dedis.lib.network | |
| ch.epfl.dedis.skipchain |
| Modifier and Type | Method and Description |
|---|---|
Point |
CalypsoRPC.getLTSX() |
Point |
CreateLTSReply.getX()
Getter for the public key of the LTS
|
Point |
ReadData.getXc() |
| Modifier and Type | Method and Description |
|---|---|
ReadInstance |
WriteInstance.spawnCalypsoRead(CalypsoRPC calypso,
List<Signer> readers,
List<Long> readerCtrs,
Point Xc)
Spawns a new CalypsoRead instance for this Write Instance.
|
| Constructor and Description |
|---|
ReadData(InstanceId writeId,
Point readerPk)
Construct a read request given the ID of the corresponding write request and the reader's public key.
|
ReadInstance(CalypsoRPC calypso,
WriteInstance write,
List<Signer> signers,
List<Long> signerCtrs,
Point Xc)
Create a new ReadInstance to request access to an encrypted document.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Bn256G1Point
The point used for mapping a message in Bn256 signature
|
class |
Bn256G2Point
The point used as a public key for a Bn256 signature
|
class |
Ed25519Point |
| Modifier and Type | Field and Description |
|---|---|
static Point |
Ed25519.base |
Point |
SchnorrSig.challenge |
Point |
Ed25519Pair.point |
Point |
Bn256Pair.point |
| Modifier and Type | Method and Description |
|---|---|
Point |
Bn256G1Point.add(Point other)
Add the two points together
|
Point |
Ed25519Point.add(Point other) |
Point |
Point.add(Point other) |
Point |
Bn256G2Point.add(Point other)
Add the two points together
|
static Point |
Ed25519Point.base() |
Point |
Bn256G1Point.copy()
Returns a hard copy of the point
|
Point |
Ed25519Point.copy() |
Point |
Point.copy() |
Point |
Bn256G2Point.copy()
Returns a hard copy of the point
|
static Point |
Ed25519Point.embed(byte[] data)
Embed data into a point.
|
static Point |
Ed25519Point.embed(byte[] data,
Random rand)
Embed data into a point.
|
static Point |
Ed25519Point.embed(byte[] data,
org.bouncycastle.crypto.Xof xof)
Embed data into a point.
|
Point |
PointFactory.fromProto(com.google.protobuf.ByteString pubkey)
Create a point using a protobuf input
|
Point |
PointFactory.fromToml(String suite,
String pubhex)
Create a point using a toml input string
|
Point |
Mask.getAggregate()
Gets the aggregate public key according to the mask.
|
Point |
Bn256G1Point.getZero()
Get the infinity (zero) point.
|
Point |
Ed25519Point.getZero() |
Point |
Point.getZero() |
Point |
Bn256G2Point.getZero()
Get the infinity (zero) point.
|
Point |
Bn256G1Point.mul(Scalar s)
Multiply the point by the given scalar
|
Point |
Ed25519Point.mul(Scalar s) |
Point |
Point.mul(Scalar s) |
Point |
Bn256G2Point.mul(Scalar s)
Multiply the point by the given scalar
|
Point |
Bn256G1Point.negate()
Produces the negative version of the point
|
Point |
Ed25519Point.negate() |
Point |
Point.negate() |
Point |
Bn256G2Point.negate()
Produces the negative version of the point
|
| Modifier and Type | Method and Description |
|---|---|
List<Point> |
Mask.getPublics()
Get the list of public keys involved in the mask
|
| Modifier and Type | Method and Description |
|---|---|
Point |
Bn256G1Point.add(Point other)
Add the two points together
|
Point |
Ed25519Point.add(Point other) |
Point |
Point.add(Point other) |
Point |
Bn256G2Point.add(Point other)
Add the two points together
|
boolean |
Mask.keyEnabled(Point p)
Checks whether the index, corresponding to the given key, is enabled in the mask or not.
|
Scalar |
SchnorrSig.toHash(Point challenge,
Point pub,
byte[] msg) |
boolean |
SchnorrSig.verify(byte[] msg,
Point pub) |
| Constructor and Description |
|---|
Ed25519Point(Point p) |
| Constructor and Description |
|---|
Mask(List<Point> publics,
byte[] mask)
Create a read-only mask from a set of public keys and the given bitmask.
|
| Modifier and Type | Method and Description |
|---|---|
Point |
Signer.getPublic()
Returns the public key of the signer or throws a NoPublicKey exception.
|
Point |
SignerEd25519.getPublic()
Returns the public key of the signer or throws a NoPublicKey exception.
|
Point |
SignerX509EC.getPublic()
Returns the public key of the signer, or throws a CothorityCryptoException.
|
| Modifier and Type | Method and Description |
|---|---|
Point |
ServerIdentity.getPublic() |
Point |
ServiceIdentity.getPublic()
Get the public key as a point
|
Point |
ServerIdentity.getServicePublic(String serviceName)
Get the public key for the given service name.
|
| Modifier and Type | Method and Description |
|---|---|
List<Point> |
Roster.getServicePublics(String serviceName) |
| Constructor and Description |
|---|
ServerIdentity(URI serverWsAddress,
Point pubkey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ForwardLink.verify(List<Point> publics)
Verifies whether the signature is correctly signed by the given public keys.
|
boolean |
ByzcoinSig.verify(List<Point> publics)
Verifies the signature given a roster of potential signers.
|
Copyright © 2019. All rights reserved.