BinarySecret Class

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

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.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 : 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.Services3.Xml.OpenAttributeElement
    Microsoft.Web.Services3.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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

BinarySecret Members
Microsoft.Web.Services3.Security Namespace