WSSecurityTokenSerializer Constructores

Definición

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.Initializes a new instance of the WSSecurityTokenSerializer class.

Sobrecargas

WSSecurityTokenSerializer()

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(Boolean)

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion)

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, Boolean)

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer)

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.Initializes a new instance of the WSSecurityTokenSerializer class.

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

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.Initializes a new instance of the WSSecurityTokenSerializer class.

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

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.Initializes a new instance of the WSSecurityTokenSerializer class.

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

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.Initializes a new instance of the WSSecurityTokenSerializer class.

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

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer()

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.Initializes a new instance of the WSSecurityTokenSerializer class.

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

Se aplica a

WSSecurityTokenSerializer(Boolean)

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.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)

Parámetros

emitBspRequiredAttributes
Boolean

El valor que se va a usar para la propiedad EmitBspRequiredAttributes.The value to use for the EmitBspRequiredAttributes property. Cuando es true, se incluye ValueType y los atributos EncodingType donde sea de aplicación durante la serialización del token de seguridad.When true, this includes ValueType and EncodingType attributes where applicable during security token serialization.

Se aplica a

WSSecurityTokenSerializer(SecurityVersion)

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.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
Public Sub New (securityVersion As SecurityVersion)

Parámetros

securityVersion
SecurityVersion

Versión de seguridad.The security version.

Se aplica a

WSSecurityTokenSerializer(SecurityVersion, Boolean)

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.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
Public Sub New (securityVersion As SecurityVersion, emitBspRequiredAttributes As Boolean)

Parámetros

securityVersion
SecurityVersion

Versión de seguridad.The security version.

emitBspRequiredAttributes
Boolean

El valor que se va a usar para la propiedad EmitBspRequiredAttributes.The value to use for the EmitBspRequiredAttributes property.

Se aplica a

WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer)

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.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
Public Sub New (securityVersion As SecurityVersion, emitBspRequiredAttributes As Boolean, samlSerializer As SamlSerializer)

Parámetros

securityVersion
SecurityVersion

Versión de seguridad.The security version.

emitBspRequiredAttributes
Boolean

El valor que se va a usar para la propiedad EmitBspRequiredAttributes.The value to use for the EmitBspRequiredAttributes property.

samlSerializer
SamlSerializer

Punto de extensibilidad usado para serializar y deserializar los tokens de SAML.The extensibility point used for serializing and deserializing SAML tokens.

Se aplica a

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

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.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
Public Sub New (securityVersion As SecurityVersion, emitBspRequiredAttributes As Boolean, samlSerializer As SamlSerializer, securityStateEncoder As SecurityStateEncoder, knownTypes As IEnumerable(Of Type))

Parámetros

securityVersion
SecurityVersion

Versión de seguridad.The security version.

emitBspRequiredAttributes
Boolean

El valor que se va a usar para la propiedad EmitBspRequiredAttributes.The value to use for the EmitBspRequiredAttributes property.

samlSerializer
SamlSerializer

Punto de extensibilidad usado para serializar y deserializar los tokens de SAML.The extensibility point used for serializing and deserializing SAML tokens.

securityStateEncoder
SecurityStateEncoder

Codificador usado para codificar y descodificar el estado de seguridad que se adjunta como una cookie a los tokens de contexto de seguridad.The encoder used for encoding and decoding security state that is attached as a cookie to security context tokens.

knownTypes
IEnumerable<Type>

Una colección de tipos.A collection of types. Estos tipos conocidos se deben declarar para incluir las notificaciones personalizadas como parte de la cookie del token de contexto de seguridad.These known types must be declared to include custom claims as part of the security context token's cookie.

Excepciones

El valor de securityVersion es null.The securityVersion is null.

Se aplica a

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

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.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
Public Sub New (securityVersion As SecurityVersion, trustVersion As TrustVersion, secureConversationVersion As SecureConversationVersion, emitBspRequiredAttributes As Boolean, samlSerializer As SamlSerializer, securityStateEncoder As SecurityStateEncoder, knownTypes As IEnumerable(Of Type))

Parámetros

securityVersion
SecurityVersion

Versión de seguridad.The security version.

trustVersion
TrustVersion

Conjunto de versiones admitidas de la especificación WS-Trust.The set of supported versions of the WS-Trust specification.

secureConversationVersion
SecureConversationVersion

Conjunto de versiones admitidas de la especificación WS-SecureConversation.The set of supported versions of the WS-SecureConversation specification.

emitBspRequiredAttributes
Boolean

El valor que se va a usar para la propiedad EmitBspRequiredAttributes.The value to use for the EmitBspRequiredAttributes property.

samlSerializer
SamlSerializer

Punto de extensibilidad usado para serializar y deserializar los tokens de SAML.The extensibility point used for serializing and deserializing SAML tokens.

securityStateEncoder
SecurityStateEncoder

Codificador usado para codificar y descodificar el estado de seguridad que se adjunta como una cookie a los tokens de contexto de seguridad.The encoder used for encoding and decoding security state that is attached as a cookie to security context tokens.

knownTypes
IEnumerable<Type>

Colección de tipos conocidos.A collection of known types. Estos tipos conocidos se deben declarar para incluir las notificaciones personalizadas como parte de la cookie del token de contexto de seguridad.These known types must be declared to include custom claims as part of the security context token's cookie.

Se aplica a

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

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.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
Public Sub New (securityVersion As SecurityVersion, emitBspRequiredAttributes As Boolean, samlSerializer As SamlSerializer, securityStateEncoder As SecurityStateEncoder, knownTypes As IEnumerable(Of Type), maximumKeyDerivationOffset As Integer, maximumKeyDerivationLabelLength As Integer, maximumKeyDerivationNonceLength As Integer)

Parámetros

securityVersion
SecurityVersion

Versión de seguridad.The security version.

emitBspRequiredAttributes
Boolean

El valor que se va a usar para la propiedad EmitBspRequiredAttributes.The value to use for the EmitBspRequiredAttributes property.

samlSerializer
SamlSerializer

Punto de extensibilidad usado para serializar y deserializar los tokens de SAML.The extensibility point used for serializing and deserializing SAML tokens.

securityStateEncoder
SecurityStateEncoder

Codificador usado para codificar y descodificar el estado de seguridad que se adjunta como una cookie a los tokens de contexto de seguridad.The encoder used for encoding and decoding security state that is attached as a cookie to security context tokens.

knownTypes
IEnumerable<Type>

Colección de tipos conocidos.A collection of known types. Estos tipos conocidos se deben declarar para incluir las notificaciones personalizadas como parte de la cookie del token de contexto de seguridad.These known types must be declared to include custom claims as part of the security context token's cookie.

maximumKeyDerivationOffset
Int32

El desplazamiento de derivación de clave máximo.The maximum key derivation offset. Este valor coloca un límite en la cantidad de procesamiento que el servidor hace al deserializar tokens de clave derivada.This setting places a bound on the amount of processing the server does when deserializing Derived Key Tokens.

maximumKeyDerivationLabelLength
Int32

La longitud de etiqueta de derivación de clave máxima.The maximum key derivation label length. Este valor coloca un límite en la cantidad de procesamiento que el servidor hace al deserializar tokens de clave derivada.This setting places a bound on the amount of processing the server does when deserializing Derived Key Tokens.

maximumKeyDerivationNonceLength
Int32

La longitud del valor de seguridad de derivación de clave máxima.The maximum key derivation nonce length. Este valor coloca un límite en la cantidad de procesamiento que el servidor hace al deserializar tokens de clave derivada.This setting places a bound on the amount of processing the server does when deserializing Derived Key Tokens.

Excepciones

El valor de securityVersion es null.The securityVersion is null.

maximumKeyDerivationOffset es menor que 0, maximumKeyDerivationLabelLength es menor que 0 o maximumKeyDerivationNonceLength es menor o igual que 0.The maximumKeyDerivationOffset is less than 0, maximumKeyDerivationLabelLength is less than 0, or maximumKeyDerivationNonceLength is less than or equal to 0.

Se aplica a

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

Inicializa una nueva instancia de la clase WSSecurityTokenSerializer.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
Public Sub New (securityVersion As SecurityVersion, trustVersion As TrustVersion, secureConversationVersion As SecureConversationVersion, emitBspRequiredAttributes As Boolean, samlSerializer As SamlSerializer, securityStateEncoder As SecurityStateEncoder, knownTypes As IEnumerable(Of Type), maximumKeyDerivationOffset As Integer, maximumKeyDerivationLabelLength As Integer, maximumKeyDerivationNonceLength As Integer)

Parámetros

securityVersion
SecurityVersion

Versión de seguridad.The security version.

trustVersion
TrustVersion

Conjunto de versiones admitidas de la especificación WS-Trust.The set of supported versions of the WS-Trust specification.

secureConversationVersion
SecureConversationVersion

Conjunto de versiones admitidas de la especificación WS-SecureConversation.The set of supported versions of the WS-SecureConversation specification.

emitBspRequiredAttributes
Boolean

El valor que se va a usar para la propiedad EmitBspRequiredAttributes.The value to use for the EmitBspRequiredAttributes property.

samlSerializer
SamlSerializer

Punto de extensibilidad usado para serializar y deserializar los tokens de SAML.The extensibility point used for serializing and deserializing SAML tokens.

securityStateEncoder
SecurityStateEncoder

Codificador usado para codificar y descodificar el estado de seguridad que se adjunta como una cookie a los tokens de contexto de seguridad.The encoder used for encoding and decoding security state that is attached as a cookie to security context tokens.

knownTypes
IEnumerable<Type>

Colección de tipos conocidos.A collection of known types. Estos tipos conocidos se deben declarar para incluir las notificaciones personalizadas como parte de la cookie del token de contexto de seguridad.These known types must be declared to include custom claims as part of the security context token's cookie.

maximumKeyDerivationOffset
Int32

El desplazamiento de derivación de clave máximo.The maximum key derivation offset. Este valor coloca un límite en la cantidad de procesamiento que el servidor hace al deserializar tokens de clave derivada.This setting places a bound on the amount of processing the server does when deserializing Derived Key Tokens.

maximumKeyDerivationLabelLength
Int32

La longitud de etiqueta de derivación de clave máxima.The maximum key derivation label length. Este valor coloca un límite en la cantidad de procesamiento que el servidor hace al deserializar tokens de clave derivada.This setting places a bound on the amount of processing the server does when deserializing Derived Key Tokens.

maximumKeyDerivationNonceLength
Int32

La longitud del valor de seguridad de derivación de clave máxima.The maximum key derivation nonce length. Este valor coloca un límite en la cantidad de procesamiento que el servidor hace al deserializar tokens de clave derivada.This setting places a bound on the amount of processing the server does when deserializing Derived Key Tokens.

Se aplica a