#include <ShftConjKeyGenerationGarside.h>
Public Member Functions | |
ShftConjKeyInstanceGarside (int braid_rank, ThRightNormalForm publicKeyA, ThRightNormalForm privateKey) | |
Create an instance of the protocol. | |
int | getBraidRank () const |
(accessor function) get the rank of the braid group | |
ThRightNormalForm | getPrivateKey () const |
(accessor function) get the private key | |
pair< ThRightNormalForm, ThRightNormalForm > | getPublicKey () const |
(accessor function) get the public key | |
Static Public Member Functions | |
static ShftConjKeyInstanceGarside | random (int braid_rank, int baseLenth, int keyLength) |
Generate a random instance of the protocol. | |
Private Attributes | |
int | theRank |
the rank of the braid group | |
ThRightNormalForm | thePrivateKey |
the private key of the first party (denoted by ![]() | |
pair< ThRightNormalForm, ThRightNormalForm > | thePublicKey |
the public key of the first party ![]() |
Use this class to generate and keep an instance of Dehornoy's authentification protocol.
Definition at line 31 of file ShftConjKeyGenerationGarside.h.
|
Create an instance of the protocol.
|
|
(accessor function) get the rank of the braid group
Definition at line 66 of file ShftConjKeyGenerationGarside.h. References theRank. |
|
(accessor function) get the private key
Definition at line 68 of file ShftConjKeyGenerationGarside.h. References thePrivateKey. |
|
(accessor function) get the public key
Definition at line 70 of file ShftConjKeyGenerationGarside.h. References thePublicKey. |
|
Generate a random instance of the protocol.
|
|
the private key of the first party (denoted by
Definition at line 85 of file ShftConjKeyGenerationGarside.h. Referenced by getPrivateKey(). |
|
the public key of the first party
Definition at line 88 of file ShftConjKeyGenerationGarside.h. Referenced by getPublicKey(). |
|
the rank of the braid group
Definition at line 82 of file ShftConjKeyGenerationGarside.h. Referenced by getBraidRank(). |