C# 클래스 Keyczar.TimeoutVerifier

Verifies signatures with an expiration date & time
상속: Keyczar
파일 보기 프로젝트 열기: jbtule/keyczar-dotnet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
TimeoutLength int

공개 메소드들

메소드 설명
TimeoutVerifier ( IKeySet keySet, Func currentDateTime = null ) : System

Initializes a new instance of the TimeoutVerifier class.

TimeoutVerifier ( string keySetLocation, Func currentDateTime = null ) : System

Initializes a new instance of the TimeoutVerifier class.

Verify ( byte rawData, byte signature ) : bool

Verifies the specified raw data.

Verify ( string rawData, WebBase64 signature ) : bool

Verifies the specified raw data.

보호된 메소드들

메소드 설명
FromDateTime ( System.DateTime date ) : long

Gets binary format of the date time.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void
Verify ( Stream input, byte signature, long inputLength = -1 ) : bool

메소드 상세

FromDateTime() 보호된 정적인 메소드

Gets binary format of the date time.
protected static FromDateTime ( System.DateTime date ) : long
date System.DateTime The date.
리턴 long

TimeoutVerifier() 공개 메소드

Initializes a new instance of the TimeoutVerifier class.
public TimeoutVerifier ( IKeySet keySet, Func currentDateTime = null ) : System
keySet IKeySet The key set.
currentDateTime Func The current date time provider.
리턴 System

TimeoutVerifier() 공개 메소드

Initializes a new instance of the TimeoutVerifier class.
public TimeoutVerifier ( string keySetLocation, Func currentDateTime = null ) : System
keySetLocation string The keyset location.
currentDateTime Func The current date time providers.
리턴 System

Verify() 공개 메소드

Verifies the specified raw data.
public Verify ( byte rawData, byte signature ) : bool
rawData byte The raw data.
signature byte The signature.
리턴 bool

Verify() 공개 메소드

Verifies the specified raw data.
public Verify ( string rawData, WebBase64 signature ) : bool
rawData string The raw data.
signature WebBase64 The signature.
리턴 bool

프로퍼티 상세

TimeoutLength 공개적으로 정적으로 프로퍼티

Binary length of expiration in signature
public static int TimeoutLength
리턴 int