ProtectedKey Constructor (Byte[], EncryptingCredentials)

Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

    Dim secret As Byte()
Dim wrappingCredentials As EncryptingCredentials

Dim instance As New ProtectedKey(secret, wrappingCredentials)

Syntax

'Declaration
Public Sub New ( _
    secret As Byte(), _
    wrappingCredentials As EncryptingCredentials _
)
public ProtectedKey (
    byte[] secret,
    EncryptingCredentials wrappingCredentials
)
public:
ProtectedKey (
    array<unsigned char>^ secret, 
    EncryptingCredentials^ wrappingCredentials
)
public ProtectedKey (
    byte[] secret, 
    EncryptingCredentials wrappingCredentials
)
public function ProtectedKey (
    secret : byte[], 
    wrappingCredentials : EncryptingCredentials
)

Parameters

  • secret
     
  • wrappingCredentials
     

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also

Reference

ProtectedKey Class
ProtectedKey Members
Microsoft.IdentityModel.Protocols.WSTrust Namespace