62 references to X509KeyIdentifierClauseType
System.ServiceModel (62)
System\ServiceModel\Channels\SecurityBindingElement.cs (29)
935
X509KeyIdentifierClauseType
.Any,
938
X509KeyIdentifierClauseType
.Any,
970
X509KeyIdentifierClauseType
.Any,
974
X509KeyIdentifierClauseType
.Any,
982
X509KeyIdentifierClauseType
.Thumbprint,
986
X509KeyIdentifierClauseType
.Thumbprint,
1008
if (recipient == null || (recipient.X509ReferenceStyle !=
X509KeyIdentifierClauseType
.Any && recipient.X509ReferenceStyle !=
X509KeyIdentifierClauseType
.Thumbprint) || recipient.InclusionMode != SecurityTokenInclusionMode.AlwaysToInitiator)
1012
if (initiator == null || (initiator.X509ReferenceStyle !=
X509KeyIdentifierClauseType
.Any && initiator.X509ReferenceStyle !=
X509KeyIdentifierClauseType
.Thumbprint) || initiator.InclusionMode != SecurityTokenInclusionMode.AlwaysToRecipient)
1036
if (recipient == null || recipient.X509ReferenceStyle !=
X509KeyIdentifierClauseType
.Any || recipient.InclusionMode != SecurityTokenInclusionMode.Never)
1040
if (initiator == null || initiator.X509ReferenceStyle !=
X509KeyIdentifierClauseType
.Any || initiator.InclusionMode != SecurityTokenInclusionMode.AlwaysToRecipient)
1053
if (x509Parameters == null || x509Parameters.X509ReferenceStyle !=
X509KeyIdentifierClauseType
.Thumbprint || x509Parameters.InclusionMode != SecurityTokenInclusionMode.Never)
1061
if (x509Parameters == null || x509Parameters.X509ReferenceStyle !=
X509KeyIdentifierClauseType
.Thumbprint || x509Parameters.InclusionMode != SecurityTokenInclusionMode.AlwaysToRecipient)
1079
X509KeyIdentifierClauseType
.Thumbprint,
1100
if (x509Parameters == null || x509Parameters.X509ReferenceStyle !=
X509KeyIdentifierClauseType
.Thumbprint || x509Parameters.InclusionMode != SecurityTokenInclusionMode.Never)
1126
X509KeyIdentifierClauseType
.Any,
1130
X509KeyIdentifierClauseType
.Any,
1138
X509KeyIdentifierClauseType
.Thumbprint,
1142
X509KeyIdentifierClauseType
.Thumbprint,
1158
X509KeyIdentifierClauseType
.Thumbprint,
1177
if (x509Parameters == null || x509Parameters.X509ReferenceStyle !=
X509KeyIdentifierClauseType
.Thumbprint || x509Parameters.InclusionMode != SecurityTokenInclusionMode.Never)
1302
X509KeyIdentifierClauseType
.Thumbprint,
1332
if (x509Parameters == null || x509Parameters.X509ReferenceStyle !=
X509KeyIdentifierClauseType
.Thumbprint || x509Parameters.InclusionMode != SecurityTokenInclusionMode.Never)
1519
X509KeyIdentifierClauseType
x509ReferenceType;
1523
x509ReferenceType =
X509KeyIdentifierClauseType
.Any;
1527
x509ReferenceType =
X509KeyIdentifierClauseType
.Thumbprint;
1567
return x509Parameters.X509ReferenceStyle ==
X509KeyIdentifierClauseType
.Any || x509Parameters.X509ReferenceStyle ==
X509KeyIdentifierClauseType
.Thumbprint;
System\ServiceModel\Configuration\SecurityElementBase.cs (4)
756
if ( tokenParamameters != null && tokenParamameters.X509ReferenceStyle ==
X509KeyIdentifierClauseType
.IssuerSerial )
762
if ( initiatorParamameters != null && initiatorParamameters.X509ReferenceStyle ==
X509KeyIdentifierClauseType
.IssuerSerial )
766
if ( recepientParamameters != null && recepientParamameters.X509ReferenceStyle ==
X509KeyIdentifierClauseType
.IssuerSerial )
804
if ( x509TokenParameter.X509ReferenceStyle ==
X509KeyIdentifierClauseType
.IssuerSerial )
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (1)
876
if (x509 != null && x509.X509ReferenceStyle ==
X509KeyIdentifierClauseType
.Thumbprint)
System\ServiceModel\Security\Tokens\X509KeyIdentifierClauseType.cs (8)
21
public static bool IsDefined(
X509KeyIdentifierClauseType
value)
23
return (value ==
X509KeyIdentifierClauseType
.Any
24
|| value ==
X509KeyIdentifierClauseType
.IssuerSerial
25
|| value ==
X509KeyIdentifierClauseType
.SubjectKeyIdentifier
26
|| value ==
X509KeyIdentifierClauseType
.Thumbprint
27
|| value ==
X509KeyIdentifierClauseType
.RawDataKeyIdentifier);
30
public static void Validate(
X509KeyIdentifierClauseType
value)
35
typeof(
X509KeyIdentifierClauseType
)));
System\ServiceModel\Security\Tokens\X509SecurityTokenParameters.cs (12)
17
internal const
X509KeyIdentifierClauseType
defaultX509ReferenceStyle =
X509KeyIdentifierClauseType
.Any;
19
X509KeyIdentifierClauseType
x509ReferenceStyle;
33
public X509SecurityTokenParameters(
X509KeyIdentifierClauseType
x509ReferenceStyle)
39
public X509SecurityTokenParameters(
X509KeyIdentifierClauseType
x509ReferenceStyle, SecurityTokenInclusionMode inclusionMode)
44
internal X509SecurityTokenParameters(
X509KeyIdentifierClauseType
x509ReferenceStyle, SecurityTokenInclusionMode inclusionMode,
55
public
X509KeyIdentifierClauseType
X509ReferenceStyle
84
case
X509KeyIdentifierClauseType
.Any:
117
case
X509KeyIdentifierClauseType
.Thumbprint:
120
case
X509KeyIdentifierClauseType
.SubjectKeyIdentifier:
123
case
X509KeyIdentifierClauseType
.IssuerSerial:
126
case
X509KeyIdentifierClauseType
.RawDataKeyIdentifier:
System\ServiceModel\Security\WSSecurityPolicy.cs (8)
2079
public virtual XmlElement CreateX509ReferenceStyleAssertion(
X509KeyIdentifierClauseType
referenceStyle)
2085
case
X509KeyIdentifierClauseType
.IssuerSerial:
2088
case
X509KeyIdentifierClauseType
.SubjectKeyIdentifier:
2091
case
X509KeyIdentifierClauseType
.Thumbprint:
2094
case
X509KeyIdentifierClauseType
.Any:
2106
parameters.X509ReferenceStyle =
X509KeyIdentifierClauseType
.IssuerSerial;
2110
parameters.X509ReferenceStyle =
X509KeyIdentifierClauseType
.SubjectKeyIdentifier;
2114
parameters.X509ReferenceStyle =
X509KeyIdentifierClauseType
.Thumbprint;