Share via


Nonce Class

Provides a random value for use with elements within a security header.

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim size As Integer
Dim nonce1 As New Nonce(size)

Syntax

'Declaration
Public Class Nonce
    Implements IXmlElement
public class Nonce : IXmlElement
public ref class Nonce : IXmlElement
public class Nonce implements IXmlElement
public class Nonce implements IXmlElement

Remarks

A nonce provides a mechanism for a sender to associate an arbitrary binary data into a message. A nonce is generated from cryptographic random number generators.

For more information, see Web Services Securities Addendum, version 1.0, at https://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnglobspec/html/ws-security-addendum.asp

Inheritance Hierarchy

System.Object
  Microsoft.Web.Services3.Security.Nonce

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

Nonce Members
Microsoft.Web.Services3.Security Namespace