KerberosSecurityTokenParameters Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the KerberosSecurityTokenParameters class.
Overloads
KerberosSecurityTokenParameters() |
Initializes a new instance of the KerberosSecurityTokenParameters class. |
KerberosSecurityTokenParameters(KerberosSecurityTokenParameters) |
Initializes a new instance of the KerberosSecurityTokenParameters class. |
Remarks
The difference between these overloads is where instance property values come from. KerberosSecurityTokenParameters sets them to their default values. KerberosSecurityTokenParameters takes them from the instance referenced by the input parameter.
KerberosSecurityTokenParameters()
Initializes a new instance of the KerberosSecurityTokenParameters class.
public:
KerberosSecurityTokenParameters();
public KerberosSecurityTokenParameters ();
Public Sub New ()
Examples
The following code shows how to call this constructor.
// Create a SymmetricSecurityBindingElement.
SymmetricSecurityBindingElement ssbe =
new SymmetricSecurityBindingElement();
// Set the algorithm suite to one that uses 128-bit keys.
ssbe.DefaultAlgorithmSuite = SecurityAlgorithmSuite.Basic128;
// Set MessageProtectionOrder to SignBeforeEncrypt.
ssbe.MessageProtectionOrder = MessageProtectionOrder.SignBeforeEncrypt;
// Use a Kerberos token as the protection token.
ssbe.ProtectionTokenParameters = new KerberosSecurityTokenParameters();
Remarks
The new instance property values are set to their defaults:
InclusionMode is set to Once.
ReferenceStyle is set to Internal.
RequireDerivedKeys is set to
true
.
Applies to
KerberosSecurityTokenParameters(KerberosSecurityTokenParameters)
Initializes a new instance of the KerberosSecurityTokenParameters class.
protected:
KerberosSecurityTokenParameters(System::ServiceModel::Security::Tokens::KerberosSecurityTokenParameters ^ other);
protected KerberosSecurityTokenParameters (System.ServiceModel.Security.Tokens.KerberosSecurityTokenParameters other);
new System.ServiceModel.Security.Tokens.KerberosSecurityTokenParameters : System.ServiceModel.Security.Tokens.KerberosSecurityTokenParameters -> System.ServiceModel.Security.Tokens.KerberosSecurityTokenParameters
Protected Sub New (other As KerberosSecurityTokenParameters)
Parameters
The other instance of this class.
Exceptions
other
is null
.
Remarks
The new instance property values are set to the corresponding values in other
.