ShftConjKeyInstanceGarside Class Reference

Container for public and private information in Dehornoy's authentification protocol. More...

#include <ShftConjKeyGenerationGarside.h>

List of all members.

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 $A$)
pair< ThRightNormalForm,
ThRightNormalForm
thePublicKey
 the public key of the first party $P_B = D(sh(A)^{-1} \sigma_1 sh(w) A)$

Detailed Description

Container for public and private information in Dehornoy's authentification protocol.

Use this class to generate and keep an instance of Dehornoy's authentification protocol.

Definition at line 31 of file ShftConjKeyGenerationGarside.h.


Constructor & Destructor Documentation

ShftConjKeyInstanceGarside::ShftConjKeyInstanceGarside ( int  braid_rank,
ThRightNormalForm  publicKeyA,
ThRightNormalForm  privateKey 
)

Create an instance of the protocol.


Member Function Documentation

int ShftConjKeyInstanceGarside::getBraidRank (  )  const [inline]

(accessor function) get the rank of the braid group

Definition at line 66 of file ShftConjKeyGenerationGarside.h.

References theRank.

ThRightNormalForm ShftConjKeyInstanceGarside::getPrivateKey (  )  const [inline]

(accessor function) get the private key

Definition at line 68 of file ShftConjKeyGenerationGarside.h.

References thePrivateKey.

pair< ThRightNormalForm , ThRightNormalForm > ShftConjKeyInstanceGarside::getPublicKey (  )  const [inline]

(accessor function) get the public key

Definition at line 70 of file ShftConjKeyGenerationGarside.h.

References thePublicKey.

static ShftConjKeyInstanceGarside ShftConjKeyInstanceGarside::random ( int  braid_rank,
int  baseLenth,
int  keyLength 
) [static]

Generate a random instance of the protocol.

Parameters:
braid_rank - rank of the braid group;
baseLenth - the length of the base word
keyLength - the length of the key

Member Data Documentation

the private key of the first party (denoted by $A$)

Definition at line 85 of file ShftConjKeyGenerationGarside.h.

Referenced by getPrivateKey().

the public key of the first party $P_B = D(sh(A)^{-1} \sigma_1 sh(w) A)$

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().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Sep 26 18:43:50 2011 for CRyptography And Groups (CRAG) by  doxygen 1.6.1