C# Class Keyczar.TimeoutVerifier.TimeoutVerifierHelper

Helper class to verify the expiration date with the data
Inheritance: Verifier
Mostrar archivo Open project: jbtule/keyczar-dotnet

Public Methods

Method Description
TimeoutVerifierHelper ( IKeySet keySet ) : System

Initializes a new instance of the TimeoutVerifierHelper class.

TimeoutVerifierHelper ( string keySetLocation ) : System

Initializes a new instance of the TimeoutVerifierHelper class.

Protected Methods

Method Description
PrefixDataVerify ( VerifyingStream verifyingStream, object extra ) : void

Prefixes the data before verifying.

Verify ( Stream input, byte signature, object prefixData, object postfixData, long inputLength ) : bool

Verifies the specified data.

Method Details

PrefixDataVerify() protected method

Prefixes the data before verifying.
protected PrefixDataVerify ( VerifyingStream verifyingStream, object extra ) : void
verifyingStream VerifyingStream The verifying stream.
extra object The extra data passed by prefixData
return void

TimeoutVerifierHelper() public method

Initializes a new instance of the TimeoutVerifierHelper class.
public TimeoutVerifierHelper ( IKeySet keySet ) : System
keySet IKeySet The key set.
return System

TimeoutVerifierHelper() public method

Initializes a new instance of the TimeoutVerifierHelper class.
public TimeoutVerifierHelper ( string keySetLocation ) : System
keySetLocation string The key set location.
return System

Verify() protected method

Verifies the specified data.
protected Verify ( Stream input, byte signature, object prefixData, object postfixData, long inputLength ) : bool
input Stream The input.
signature byte The signature.
prefixData object The prefix data.
postfixData object The post fix data.
inputLength long (optional) Length of the input.
return bool