2 writes to EncryptWith
System.IdentityModel (2)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
421
rst.
EncryptWith
= reader.ReadElementContentAsString();
1636
rstr.
EncryptWith
= reader.ReadElementContentAsString();
10 references to EncryptWith
System.IdentityModel (10)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (8)
422
if (!UriUtil.CanCreateValidUri(rst.
EncryptWith
, UriKind.Absolute))
424
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI, rst.
EncryptWith
)));
753
if (!string.IsNullOrEmpty(rst.
EncryptWith
))
755
requestSerializer.WriteXmlElement(writer, trustConstants.Elements.EncryptWith, rst.
EncryptWith
, rst, context);
1637
if (!UriUtil.CanCreateValidUri(rstr.
EncryptWith
, UriKind.Absolute))
1639
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI, rstr.
EncryptWith
)));
1790
if (!string.IsNullOrEmpty(rstr.
EncryptWith
))
1792
responseSerializer.WriteXmlElement(writer, trustConstants.Elements.EncryptWith, rstr.
EncryptWith
, rstr, context);
System\IdentityModel\SecurityTokenService.cs (2)
395
request.Entropy.GetKeyBytes(), request.
EncryptWith
);
400
requestorWrappingCredentials, request.
EncryptWith
);