BinarySecret Class

Represents an unencrypted key for a security token issued from a security token service.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim secret() As Byte
Dim binarySecret1 As New BinarySecret(secret)

Syntax

'Declaration
Public Class BinarySecret
    Inherits OpenAttributeElement
public class BinarySecret : OpenAttributeElement
public ref class BinarySecret : public OpenAttributeElement
public class BinarySecret extends OpenAttributeElement
public class BinarySecret extends OpenAttributeElement

Remarks

When a SOAP message sender is requesting a security token from a security token service, the service may accept security token requests containing an <Entropy> XML element. The <Entropy> XML element specifies a value, known as the entropy value, that is used to create the key associated with the security token. The entropy value can be encrypted. When it is encrypted, it is contained within an <EncryptedKey> element, which is represented by the EncryptedKey property; otherwise the value is placed in an <BinarySecret> child element, which is represented by the BinarySecret property. When the entropy value is placed in a <BinarySecret> child element, the transport or channel used to make the security token request SHOULD be encrypted.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services2.Xml.OpenAttributeElement
    Microsoft.Web.Services2.Security.BinarySecret

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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

Microsoft.Web.Services2.Security Namespace

Other Resources

BinarySecret Members