Cuemon .NET Framework
DefaultNonceGenerator Method

The System.DateTime value to include in the generated nonce.
An opaque identifier to include in the generated nonce.
A cryptographic private key to include as a cipher in the generated nonce.
A default implementation of the DigestAccessAuthenticationModule.NonceGeneratorCallback.
Syntax
'Declaration
 
Public Shared Function DefaultNonceGenerator( _
   ByVal timestamp As Date, _
   ByVal entityTag As String, _
   ByVal privateKey() As Byte _
) As String
public static string DefaultNonceGenerator( 
   DateTime timestamp,
   string entityTag,
   byte[] privateKey
)

Parameters

timestamp
The System.DateTime value to include in the generated nonce.
entityTag
An opaque identifier to include in the generated nonce.
privateKey
A cryptographic private key to include as a cipher in the generated nonce.

Return Value

A nonce protocol in the format of 'timestamp:H(timestamp entityTag privateKey)'.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DigestAuthenticationUtility Class
DigestAuthenticationUtility Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback