2 writes to EncryptionAlgorithm
System.IdentityModel (2)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
449
rst.
EncryptionAlgorithm
= reader.ReadElementContentAsString(trustConstants.Elements.EncryptionAlgorithm, trustConstants.NamespaceURI);
1592
rstr.
EncryptionAlgorithm
= reader.ReadElementContentAsString(trustConstants.Elements.EncryptionAlgorithm, trustConstants.NamespaceURI);
12 references to EncryptionAlgorithm
System.IdentityModel (12)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (8)
450
if (!UriUtil.CanCreateValidUri(rst.
EncryptionAlgorithm
, UriKind.Absolute))
452
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.EncryptionAlgorithm, trustConstants.NamespaceURI, rst.
EncryptionAlgorithm
)));
813
if (!string.IsNullOrEmpty(rst.
EncryptionAlgorithm
))
815
requestSerializer.WriteXmlElement(writer, trustConstants.Elements.EncryptionAlgorithm, rst.
EncryptionAlgorithm
, rst, context);
1593
if (!UriUtil.CanCreateValidUri(rstr.
EncryptionAlgorithm
, UriKind.Absolute))
1595
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.EncryptionAlgorithm, trustConstants.NamespaceURI, rstr.
EncryptionAlgorithm
)));
1815
if (!string.IsNullOrEmpty(rstr.
EncryptionAlgorithm
))
1817
responseSerializer.WriteXmlElement(writer, trustConstants.Elements.EncryptionAlgorithm, rstr.
EncryptionAlgorithm
, rstr, context);
System\IdentityModel\SecurityTokenService.cs (4)
284
if ((request.
EncryptionAlgorithm
== null || request.
EncryptionAlgorithm
== SecurityAlgorithms.Aes256Encryption) &&
285
(request.SecondaryParameters == null || request.SecondaryParameters.
EncryptionAlgorithm
== null || request.SecondaryParameters.
EncryptionAlgorithm
== SecurityAlgorithms.Aes256Encryption)