C# Class AK.F1.Timing.Live.Encryption.LiveDecrypterFactory

An AK.F1.Timing.Live.Encryption.IDecrypterFactory implementation which creates decrypters seeded using an AK.F1.Timing.AuthenticationToken generated by the live-timing login service. This class cannot be inherited.
Inheritance: DecrypterFactoryBase
Show file Open project: simoneb/ak-f1-timing

Private Properties

Property Type Description
MakeSeedUri System.Uri

Public Methods

Method Description
LiveDecrypterFactory ( AuthenticationToken token ) : System

Initialises a new instance of the LiveDecrypterFactory class and specifies the user's AuthenticationToken

Protected Methods

Method Description
CreateWithSeed ( int seed ) : IDecrypter
GetSeedForSession ( string sessionId ) : int

Private Methods

Method Description
MakeSeedUri ( string sessionId ) : Uri

Method Details

CreateWithSeed() protected method

protected CreateWithSeed ( int seed ) : IDecrypter
seed int
return IDecrypter

GetSeedForSession() protected method

protected GetSeedForSession ( string sessionId ) : int
sessionId string
return int

LiveDecrypterFactory() public method

Initialises a new instance of the LiveDecrypterFactory class and specifies the user's AuthenticationToken
/// Thrown when is . ///
public LiveDecrypterFactory ( AuthenticationToken token ) : System
token AuthenticationToken The user's .
return System