Méthode | Description | |
---|---|---|
EpochTime ( System.DateTime date ) : int |
Returns a date/time object as the seconds since the Epoch.
|
|
Signature ( string service, System.DateTime date ) : string |
Returns the signature string.
|
|
Signature ( string service, string id ) : string |
Returns the signature string.
|
|
Signature ( string service, string id, System.DateTime date, |
Returns the signature string.
|
|
UrlEncode ( string text ) : string |
Properly encodes a URL to pass to the Vuzit service.
|
Méthode | Description | |
---|---|---|
CalculateRFC2104HMAC ( string text, string key ) : string |
Computes RFC 2104-compliant HMAC signature.
|
public static EpochTime ( System.DateTime date ) : int | ||
date | System.DateTime | |
Résultat | int |
public static Signature ( string service, System.DateTime date ) : string | ||
service | string | Name of the service: 'show', 'create', or 'destroy'. |
date | System.DateTime | Date of the request |
Résultat | string |
public static Signature ( string service, string id ) : string | ||
service | string | Name of the service: 'show', 'create', or 'destroy'. |
id | string | ID of the document. |
Résultat | string |
public static Signature ( string service, string id, System.DateTime date, |
||
service | string | Service name (e.g. 'show'). |
id | string | ID of the document. |
date | System.DateTime | Date of the request |
options | ||
Résultat | string |
public static UrlEncode ( string text ) : string | ||
text | string | URL text. |
Résultat | string |