Export (0) Print
Expand All

ProtectedKey Class

.NET Framework 4.6 and 4.5

Represents the contents of a wst:Entropy or a wst:RequestedProofToken element inside the RequestSecurityToken and RequestSecurityTokenResponse.

System.Object
  System.IdentityModel.Protocols.WSTrust.ProtectedKey
    System.IdentityModel.Protocols.WSTrust.Entropy

Namespace:  System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public class ProtectedKey

The ProtectedKey type exposes the following members.

  NameDescription
Public methodProtectedKey(Byte[])Initializes a new instance of the ProtectedKey class with no encryption.
Public methodProtectedKey(Byte[], EncryptingCredentials)Initializes a new instance of the ProtectedKey class using the specified encrypting credentials.
Top

  NameDescription
Public propertyWrappingCredentialsGets the encrypting credentials for the key.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetKeyBytesGets the key material.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Represents the contents of a wst:Entropy or a wst:RequestedProofToken element inside the wst:RequestSecurityToken (RequestSecurityToken) and wst:RequestSecurityTokenResponse (RequestSecurityTokenResponse) messages.

For more information about the element that this class represents, see the version of the WS-Trust specification that applies to your scenario.

.NET Framework

Supported in: 4.6, 4.5

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