4 writes to RequestedProofToken
System.IdentityModel (4)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
1503
rstr.
RequestedProofToken
= new RequestedProofToken(ReadComputedKeyAlgorithm(reader, trustConstants));
1514
rstr.
RequestedProofToken
= new RequestedProofToken(protectedKey);
System\IdentityModel\Tokens\SymmetricProofDescriptor.cs (2)
247
response.
RequestedProofToken
= new RequestedProofToken(ComputedKeyAlgorithms.Psha1);
257
response.
RequestedProofToken
= new RequestedProofToken(_key, _requestorWrappingCredentials);
8 references to RequestedProofToken
System.IdentityModel (3)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (3)
1520
if (rstr.
RequestedProofToken
== null)
1770
if (rstr.
RequestedProofToken
!= null)
1772
responseSerializer.WriteXmlElement(writer, trustConstants.Elements.RequestedProofToken, rstr.
RequestedProofToken
, rstr, context);
System.ServiceModel (5)
System\ServiceModel\Security\WSTrustChannel.cs (5)
642
if (response.
RequestedProofToken
!= null)
650
if (response.
RequestedProofToken
.ProtectedKey != null)
652
return new BinarySecretSecurityToken(response.
RequestedProofToken
.ProtectedKey.GetKeyBytes());
661
else if (IsPsha1(response.
RequestedProofToken
.ComputedKeyAlgorithm))
671
throw IM.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.GetString(SR.ID3192, response.
RequestedProofToken
.ComputedKeyAlgorithm)));