SamlAssertionKeyIdentifierClause 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.
Overloads
SamlAssertionKeyIdentifierClause(String) |
Initializes a new instance of the SamlAssertionKeyIdentifierClause class using the specified SAML assertion identifier. |
SamlAssertionKeyIdentifierClause(String, Byte[], Int32) |
Initializes a new instance of the SamlAssertionKeyIdentifierClause class using the specified SAML assertion identifier, nonce, and key length. |
SamlAssertionKeyIdentifierClause(String)
Initializes a new instance of the SamlAssertionKeyIdentifierClause class using the specified SAML assertion identifier.
public:
SamlAssertionKeyIdentifierClause(System::String ^ assertionId);
public SamlAssertionKeyIdentifierClause (string assertionId);
new System.IdentityModel.Tokens.SamlAssertionKeyIdentifierClause : string -> System.IdentityModel.Tokens.SamlAssertionKeyIdentifierClause
Public Sub New (assertionId As String)
Parameters
- assertionId
- String
The identifier of the SamlAssertion that contains the key identifier.
Exceptions
assertionId
is null
.
Remarks
Pass the AssertionId property of a SamlAssertion to this constructor.
Applies to
SamlAssertionKeyIdentifierClause(String, Byte[], Int32)
Initializes a new instance of the SamlAssertionKeyIdentifierClause class using the specified SAML assertion identifier, nonce, and key length.
public:
SamlAssertionKeyIdentifierClause(System::String ^ assertionId, cli::array <System::Byte> ^ derivationNonce, int derivationLength);
public SamlAssertionKeyIdentifierClause (string assertionId, byte[] derivationNonce, int derivationLength);
new System.IdentityModel.Tokens.SamlAssertionKeyIdentifierClause : string * byte[] * int -> System.IdentityModel.Tokens.SamlAssertionKeyIdentifierClause
Public Sub New (assertionId As String, derivationNonce As Byte(), derivationLength As Integer)
Parameters
- assertionId
- String
The identifier of the SamlAssertion that contains the key identifier.
- derivationNonce
- Byte[]
An array of Byte that contains the nonce that was used to create a derived key.
- derivationLength
- Int32
The size of the derived key.
Exceptions
assertionId
is null
.
Remarks
Pass the AssertionId property of a SamlAssertion to this constructor.
The derivationNonce
and derivationLength
parameters are ignored when the SamlAssertionKeyIdentifierClause class is serialized into an outgoing SOAP message.