WSSecurityTokenSerializer WSSecurityTokenSerializer WSSecurityTokenSerializer WSSecurityTokenSerializer Constructors

Definition

Overloads

WSSecurityTokenSerializer() WSSecurityTokenSerializer() WSSecurityTokenSerializer()

Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(Boolean) WSSecurityTokenSerializer(Boolean) WSSecurityTokenSerializer(Boolean) WSSecurityTokenSerializer(Boolean)

Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion) WSSecurityTokenSerializer(SecurityVersion) WSSecurityTokenSerializer(SecurityVersion)

Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, Boolean) WSSecurityTokenSerializer(SecurityVersion, Boolean) WSSecurityTokenSerializer(SecurityVersion, Boolean)

Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer)

Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>)

Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>)

Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32)

Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32)

Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer() WSSecurityTokenSerializer() WSSecurityTokenSerializer()

Initializes a new instance of the WSSecurityTokenSerializer class.

public:
 WSSecurityTokenSerializer();
public WSSecurityTokenSerializer ();
Public Sub New ()

WSSecurityTokenSerializer(Boolean) WSSecurityTokenSerializer(Boolean) WSSecurityTokenSerializer(Boolean) WSSecurityTokenSerializer(Boolean)

Initializes a new instance of the WSSecurityTokenSerializer class.

public:
 WSSecurityTokenSerializer(bool emitBspRequiredAttributes);
public WSSecurityTokenSerializer (bool emitBspRequiredAttributes);
new System.ServiceModel.Security.WSSecurityTokenSerializer : bool -> System.ServiceModel.Security.WSSecurityTokenSerializer
Public Sub New (emitBspRequiredAttributes As Boolean)

Parameters

emitBspRequiredAttributes
Boolean Boolean Boolean Boolean

The value to use for the EmitBspRequiredAttributes property. When true, this includes ValueType and EncodingType attributes where applicable during security token serialization.

WSSecurityTokenSerializer(SecurityVersion) WSSecurityTokenSerializer(SecurityVersion) WSSecurityTokenSerializer(SecurityVersion)

Initializes a new instance of the WSSecurityTokenSerializer class.

public:
 WSSecurityTokenSerializer(System::ServiceModel::Security::SecurityVersion ^ securityVersion);
public WSSecurityTokenSerializer (System.ServiceModel.Security.SecurityVersion securityVersion);
new System.ServiceModel.Security.WSSecurityTokenSerializer : System.ServiceModel.Security.SecurityVersion -> System.ServiceModel.Security.WSSecurityTokenSerializer

Parameters

securityVersion
SecurityVersion SecurityVersion SecurityVersion SecurityVersion

The security version.

WSSecurityTokenSerializer(SecurityVersion, Boolean) WSSecurityTokenSerializer(SecurityVersion, Boolean) WSSecurityTokenSerializer(SecurityVersion, Boolean)

Initializes a new instance of the WSSecurityTokenSerializer class.

public:
 WSSecurityTokenSerializer(System::ServiceModel::Security::SecurityVersion ^ securityVersion, bool emitBspRequiredAttributes);
public WSSecurityTokenSerializer (System.ServiceModel.Security.SecurityVersion securityVersion, bool emitBspRequiredAttributes);
new System.ServiceModel.Security.WSSecurityTokenSerializer : System.ServiceModel.Security.SecurityVersion * bool -> System.ServiceModel.Security.WSSecurityTokenSerializer

Parameters

securityVersion
SecurityVersion SecurityVersion SecurityVersion SecurityVersion

The security version.

emitBspRequiredAttributes
Boolean Boolean Boolean Boolean

The value to use for the EmitBspRequiredAttributes property.

WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer)

Initializes a new instance of the WSSecurityTokenSerializer class.

public:
 WSSecurityTokenSerializer(System::ServiceModel::Security::SecurityVersion ^ securityVersion, bool emitBspRequiredAttributes, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer);
public WSSecurityTokenSerializer (System.ServiceModel.Security.SecurityVersion securityVersion, bool emitBspRequiredAttributes, System.IdentityModel.Tokens.SamlSerializer samlSerializer);
new System.ServiceModel.Security.WSSecurityTokenSerializer : System.ServiceModel.Security.SecurityVersion * bool * System.IdentityModel.Tokens.SamlSerializer -> System.ServiceModel.Security.WSSecurityTokenSerializer

Parameters

securityVersion
SecurityVersion SecurityVersion SecurityVersion SecurityVersion

The security version.

emitBspRequiredAttributes
Boolean Boolean Boolean Boolean

The value to use for the EmitBspRequiredAttributes property.

samlSerializer
SamlSerializer SamlSerializer SamlSerializer SamlSerializer

The extensibility point used for serializing and deserializing SAML tokens.

WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>)

Initializes a new instance of the WSSecurityTokenSerializer class.

public:
 WSSecurityTokenSerializer(System::ServiceModel::Security::SecurityVersion ^ securityVersion, bool emitBspRequiredAttributes, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::ServiceModel::Security::SecurityStateEncoder ^ securityStateEncoder, System::Collections::Generic::IEnumerable<Type ^> ^ knownTypes);
public WSSecurityTokenSerializer (System.ServiceModel.Security.SecurityVersion securityVersion, bool emitBspRequiredAttributes, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.ServiceModel.Security.SecurityStateEncoder securityStateEncoder, System.Collections.Generic.IEnumerable<Type> knownTypes);
new System.ServiceModel.Security.WSSecurityTokenSerializer : System.ServiceModel.Security.SecurityVersion * bool * System.IdentityModel.Tokens.SamlSerializer * System.ServiceModel.Security.SecurityStateEncoder * seq<Type> -> System.ServiceModel.Security.WSSecurityTokenSerializer

Parameters

securityVersion
SecurityVersion SecurityVersion SecurityVersion SecurityVersion

The security version.

emitBspRequiredAttributes
Boolean Boolean Boolean Boolean

The value to use for the EmitBspRequiredAttributes property.

samlSerializer
SamlSerializer SamlSerializer SamlSerializer SamlSerializer

The extensibility point used for serializing and deserializing SAML tokens.

securityStateEncoder
SecurityStateEncoder SecurityStateEncoder SecurityStateEncoder SecurityStateEncoder

The encoder used for encoding and decoding security state that is attached as a cookie to security context tokens.

knownTypes
IEnumerable<Type>

A collection of types. These known types must be declared to include custom claims as part of the security context token's cookie.

Exceptions

WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>)

Initializes a new instance of the WSSecurityTokenSerializer class.

public:
 WSSecurityTokenSerializer(System::ServiceModel::Security::SecurityVersion ^ securityVersion, System::ServiceModel::Security::TrustVersion ^ trustVersion, System::ServiceModel::Security::SecureConversationVersion ^ secureConversationVersion, bool emitBspRequiredAttributes, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::ServiceModel::Security::SecurityStateEncoder ^ securityStateEncoder, System::Collections::Generic::IEnumerable<Type ^> ^ knownTypes);
public WSSecurityTokenSerializer (System.ServiceModel.Security.SecurityVersion securityVersion, System.ServiceModel.Security.TrustVersion trustVersion, System.ServiceModel.Security.SecureConversationVersion secureConversationVersion, bool emitBspRequiredAttributes, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.ServiceModel.Security.SecurityStateEncoder securityStateEncoder, System.Collections.Generic.IEnumerable<Type> knownTypes);
new System.ServiceModel.Security.WSSecurityTokenSerializer : System.ServiceModel.Security.SecurityVersion * System.ServiceModel.Security.TrustVersion * System.ServiceModel.Security.SecureConversationVersion * bool * System.IdentityModel.Tokens.SamlSerializer * System.ServiceModel.Security.SecurityStateEncoder * seq<Type> -> System.ServiceModel.Security.WSSecurityTokenSerializer

Parameters

securityVersion
SecurityVersion SecurityVersion SecurityVersion SecurityVersion

The security version.

trustVersion
TrustVersion TrustVersion TrustVersion TrustVersion

The set of supported versions of the WS-Trust specification.

secureConversationVersion
SecureConversationVersion SecureConversationVersion SecureConversationVersion SecureConversationVersion

The set of supported versions of the WS-SecureConversation specification.

emitBspRequiredAttributes
Boolean Boolean Boolean Boolean

The value to use for the EmitBspRequiredAttributes property.

samlSerializer
SamlSerializer SamlSerializer SamlSerializer SamlSerializer

The extensibility point used for serializing and deserializing SAML tokens.

securityStateEncoder
SecurityStateEncoder SecurityStateEncoder SecurityStateEncoder SecurityStateEncoder

The encoder used for encoding and decoding security state that is attached as a cookie to security context tokens.

knownTypes
IEnumerable<Type>

A collection of known types. These known types must be declared to include custom claims as part of the security context token's cookie.

WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32)

Initializes a new instance of the WSSecurityTokenSerializer class.

public:
 WSSecurityTokenSerializer(System::ServiceModel::Security::SecurityVersion ^ securityVersion, bool emitBspRequiredAttributes, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::ServiceModel::Security::SecurityStateEncoder ^ securityStateEncoder, System::Collections::Generic::IEnumerable<Type ^> ^ knownTypes, int maximumKeyDerivationOffset, int maximumKeyDerivationLabelLength, int maximumKeyDerivationNonceLength);
public WSSecurityTokenSerializer (System.ServiceModel.Security.SecurityVersion securityVersion, bool emitBspRequiredAttributes, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.ServiceModel.Security.SecurityStateEncoder securityStateEncoder, System.Collections.Generic.IEnumerable<Type> knownTypes, int maximumKeyDerivationOffset, int maximumKeyDerivationLabelLength, int maximumKeyDerivationNonceLength);
new System.ServiceModel.Security.WSSecurityTokenSerializer : System.ServiceModel.Security.SecurityVersion * bool * System.IdentityModel.Tokens.SamlSerializer * System.ServiceModel.Security.SecurityStateEncoder * seq<Type> * int * int * int -> System.ServiceModel.Security.WSSecurityTokenSerializer

Parameters

securityVersion
SecurityVersion SecurityVersion SecurityVersion SecurityVersion

The security version.

emitBspRequiredAttributes
Boolean Boolean Boolean Boolean

The value to use for the EmitBspRequiredAttributes property.

samlSerializer
SamlSerializer SamlSerializer SamlSerializer SamlSerializer

The extensibility point used for serializing and deserializing SAML tokens.

securityStateEncoder
SecurityStateEncoder SecurityStateEncoder SecurityStateEncoder SecurityStateEncoder

The encoder used for encoding and decoding security state that is attached as a cookie to security context tokens.

knownTypes
IEnumerable<Type>

A collection of known types. These known types must be declared to include custom claims as part of the security context token's cookie.

maximumKeyDerivationOffset
Int32 Int32 Int32 Int32

The maximum key derivation offset. This setting places a bound on the amount of processing the server does when deserializing Derived Key Tokens.

maximumKeyDerivationLabelLength
Int32 Int32 Int32 Int32

The maximum key derivation label length. This setting places a bound on the amount of processing the server does when deserializing Derived Key Tokens.

maximumKeyDerivationNonceLength
Int32 Int32 Int32 Int32

The maximum key derivation nonce length. This setting places a bound on the amount of processing the server does when deserializing Derived Key Tokens.

Exceptions

The maximumKeyDerivationOffset is less than 0, maximumKeyDerivationLabelLength is less than 0, or maximumKeyDerivationNonceLength is less than or equal to 0.

WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32)

Initializes a new instance of the WSSecurityTokenSerializer class.

public:
 WSSecurityTokenSerializer(System::ServiceModel::Security::SecurityVersion ^ securityVersion, System::ServiceModel::Security::TrustVersion ^ trustVersion, System::ServiceModel::Security::SecureConversationVersion ^ secureConversationVersion, bool emitBspRequiredAttributes, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::ServiceModel::Security::SecurityStateEncoder ^ securityStateEncoder, System::Collections::Generic::IEnumerable<Type ^> ^ knownTypes, int maximumKeyDerivationOffset, int maximumKeyDerivationLabelLength, int maximumKeyDerivationNonceLength);
public WSSecurityTokenSerializer (System.ServiceModel.Security.SecurityVersion securityVersion, System.ServiceModel.Security.TrustVersion trustVersion, System.ServiceModel.Security.SecureConversationVersion secureConversationVersion, bool emitBspRequiredAttributes, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.ServiceModel.Security.SecurityStateEncoder securityStateEncoder, System.Collections.Generic.IEnumerable<Type> knownTypes, int maximumKeyDerivationOffset, int maximumKeyDerivationLabelLength, int maximumKeyDerivationNonceLength);
new System.ServiceModel.Security.WSSecurityTokenSerializer : System.ServiceModel.Security.SecurityVersion * System.ServiceModel.Security.TrustVersion * System.ServiceModel.Security.SecureConversationVersion * bool * System.IdentityModel.Tokens.SamlSerializer * System.ServiceModel.Security.SecurityStateEncoder * seq<Type> * int * int * int -> System.ServiceModel.Security.WSSecurityTokenSerializer

Parameters

securityVersion
SecurityVersion SecurityVersion SecurityVersion SecurityVersion

The security version.

trustVersion
TrustVersion TrustVersion TrustVersion TrustVersion

The set of supported versions of the WS-Trust specification.

secureConversationVersion
SecureConversationVersion SecureConversationVersion SecureConversationVersion SecureConversationVersion

The set of supported versions of the WS-SecureConversation specification.

emitBspRequiredAttributes
Boolean Boolean Boolean Boolean

The value to use for the EmitBspRequiredAttributes property.

samlSerializer
SamlSerializer SamlSerializer SamlSerializer SamlSerializer

The extensibility point used for serializing and deserializing SAML tokens.

securityStateEncoder
SecurityStateEncoder SecurityStateEncoder SecurityStateEncoder SecurityStateEncoder

The encoder used for encoding and decoding security state that is attached as a cookie to security context tokens.

knownTypes
IEnumerable<Type>

A collection of known types. These known types must be declared to include custom claims as part of the security context token's cookie.

maximumKeyDerivationOffset
Int32 Int32 Int32 Int32

The maximum key derivation offset. This setting places a bound on the amount of processing the server does when deserializing Derived Key Tokens.

maximumKeyDerivationLabelLength
Int32 Int32 Int32 Int32

The maximum key derivation label length. This setting places a bound on the amount of processing the server does when deserializing Derived Key Tokens.

maximumKeyDerivationNonceLength
Int32 Int32 Int32 Int32

The maximum key derivation nonce length. This setting places a bound on the amount of processing the server does when deserializing Derived Key Tokens.

Applies to