ShftConjKeyInstance Class Reference

#include <ShftConjKeyGeneration.h>

List of all members.

Public Member Functions

 ShftConjKeyInstance (int braid_rank, Word base_word, Word keyA, Word KeyB)
 Create an instance of the protocol.
int getBraidRank () const
 (accessor function) get the rank of the braid group
Word getPrivateKeyA () const
 (accessor function) get the private key of the first party
Word getPrivateKeyB () const
 (accessor function) get the private key of the second party
Word getPublicKeyA () const
 (accessor function) get the public key of the first party
Word getPublicKeyB () const
 (accessor function) get the public key of the second party

Static Public Member Functions

static ShftConjKeyInstance 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
Word theBase
 the base element (denoted by $w$ )
Word thePrivateKeyA
 the private key of the first party (denoted by $A$ )
Word thePublicKeyA
 the public key of the first party $P_B = D(sh(A)^{-1} \sigma_1 sh(w) A)$
Word thePrivateKeyB
 the private key of the second party (denoted by $B$ )
Word thePublicKeyB
 the public key of the second party $P_B = D(sh(B)^{-1} \sigma_1 w B)$


Detailed Description

Definition at line 23 of file ShftConjKeyGeneration.h.


Constructor & Destructor Documentation

ShftConjKeyInstance::ShftConjKeyInstance int  braid_rank,
Word  base_word,
Word  keyA,
Word  KeyB
 

Create an instance of the protocol.


Member Function Documentation

int ShftConjKeyInstance::getBraidRank  )  const [inline]
 

(accessor function) get the rank of the braid group

Definition at line 55 of file ShftConjKeyGeneration.h.

References theRank.

Word ShftConjKeyInstance::getPrivateKeyA  )  const [inline]
 

(accessor function) get the private key of the first party

Definition at line 57 of file ShftConjKeyGeneration.h.

References thePrivateKeyA.

Word ShftConjKeyInstance::getPrivateKeyB  )  const [inline]
 

(accessor function) get the private key of the second party

Definition at line 59 of file ShftConjKeyGeneration.h.

References thePrivateKeyB.

Word ShftConjKeyInstance::getPublicKeyA  )  const [inline]
 

(accessor function) get the public key of the first party

Definition at line 61 of file ShftConjKeyGeneration.h.

References thePublicKeyA.

Word ShftConjKeyInstance::getPublicKeyB  )  const [inline]
 

(accessor function) get the public key of the second party

Definition at line 63 of file ShftConjKeyGeneration.h.

References thePublicKeyB.

static ShftConjKeyInstance ShftConjKeyInstance::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

Word ShftConjKeyInstance::theBase [private]
 

the base element (denoted by $w$ )

Definition at line 77 of file ShftConjKeyGeneration.h.

Word ShftConjKeyInstance::thePrivateKeyA [private]
 

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

Definition at line 80 of file ShftConjKeyGeneration.h.

Referenced by getPrivateKeyA().

Word ShftConjKeyInstance::thePrivateKeyB [private]
 

the private key of the second party (denoted by $B$ )

Definition at line 86 of file ShftConjKeyGeneration.h.

Referenced by getPrivateKeyB().

Word ShftConjKeyInstance::thePublicKeyA [private]
 

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

Definition at line 83 of file ShftConjKeyGeneration.h.

Referenced by getPublicKeyA().

Word ShftConjKeyInstance::thePublicKeyB [private]
 

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

Definition at line 89 of file ShftConjKeyGeneration.h.

Referenced by getPublicKeyB().

int ShftConjKeyInstance::theRank [private]
 

the rank of the braid group

Definition at line 74 of file ShftConjKeyGeneration.h.

Referenced by getBraidRank().


The documentation for this class was generated from the following file:
Generated on Mon Feb 27 22:47:18 2006 for CRyptography And Groups (CRAG) by  doxygen 1.4.4