SecurityContextToken Constructor (Byte )
Initializes a new instance of the SecurityContextToken class using a symmetric key.
Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim keyBytes() As Byte
Dim securityContextToken1 As New SecurityContextToken(keyBytes)
Syntax
'Declaration
Public Sub New( _
ByVal keyBytes() As Byte _
)
public SecurityContextToken(
byte[] keyBytes
);
public:
SecurityContextToken(
array<unsigned char>^ keyBytes
);
public SecurityContextToken(
ubyte[] keyBytes
);
public function SecurityContextToken(
keyBytes : Byte[]
);
Parameters
- keyBytes
The array of type Byte containing the symmetric key for the SecurityContextToken.
Exceptions
Exception type | Condition |
---|---|
ArgumentException | keyBytes is null. -or- The length of keyBytes is zero. |
Remarks
This constructor sets the Identifier property to a generated GUID.
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
SecurityContextToken Class
SecurityContextToken Members
Microsoft.Web.Services3.Security.Tokens Namespace