1 instantiation of WrappedKeySecurityToken
System.ServiceModel (1)
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (1)
249
return new
WrappedKeySecurityToken
(tokenId, key, wrappingAlgorithm, wrappingToken, identifier);
48 references to WrappedKeySecurityToken
System.IdentityModel (2)
System\IdentityModel\Tokens\WSSecurityJan2004.cs (1)
160
protected override Type[] GetTokenTypesCore() { return new Type[] { typeof(
WrappedKeySecurityToken
) }; }
System\IdentityModel\Tokens\WSSecurityXXX2005.cs (1)
150
public override Type TokenType { get { return typeof(
WrappedKeySecurityToken
); } }
System.ServiceModel (46)
AssemblyInfo.cs (1)
20
[assembly: TypeForwardedTo(typeof(System.ServiceModel.Security.Tokens.
WrappedKeySecurityToken
))]
System\ServiceModel\Security\MessageSecurityProtocol.cs (1)
292
if (token is
WrappedKeySecurityToken
)
System\ServiceModel\Security\MessageSecurityProtocolFactory.cs (1)
200
SecurityTokenAuthenticator authenticator = new NonValidatingSecurityTokenAuthenticator<
WrappedKeySecurityToken
>();
System\ServiceModel\Security\ReceiveSecurityHeader.cs (12)
68
WrappedKeySecurityToken
wrappedKeyToken;
564
protected abstract byte[] DecryptSecurityHeaderElement(EncryptedData encryptedData,
WrappedKeySecurityToken
wrappedKeyToken, out SecurityToken encryptionToken);
566
protected abstract
WrappedKeySecurityToken
DecryptWrappedKey(XmlDictionaryReader reader);
888
if (!(this.EncryptionToken is
WrappedKeySecurityToken
) || ((
WrappedKeySecurityToken
)this.EncryptionToken).WrappingToken != this.wrappingToken)
1036
WrappedKeySecurityToken
wrappedKeyToken = entry.element as
WrappedKeySecurityToken
;
1357
WrappedKeySecurityToken
wrappedKeyToken = DecryptWrappedKey(reader);
1401
void ProcessReferenceList(ReferenceList referenceList,
WrappedKeySecurityToken
wrappedKeyToken)
1407
protected abstract void ProcessReferenceListCore(ReferenceList referenceList,
WrappedKeySecurityToken
wrappedKeyToken);
1609
|| ((token is
WrappedKeySecurityToken
) && ((
WrappedKeySecurityToken
)token).WrappingToken == this.wrappingToken));
System\ServiceModel\Security\RequestSecurityToken.cs (1)
465
internal void SetRequestorEntropy(
WrappedKeySecurityToken
entropyToken)
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (1)
470
internal void SetIssuerEntropy(
WrappedKeySecurityToken
issuerEntropy)
System\ServiceModel\Security\SecurityUtils.cs (1)
2283
public static
WrappedKeySecurityToken
CreateTokenFromEncryptedKeyClause(EncryptedKeyIdentifierClause keyClause, SecurityToken unwrappingToken)
System\ServiceModel\Security\SendSecurityHeader.cs (4)
414
WrappedKeySecurityToken
wrappedKey = new WrappedKeySecurityToken(GenerateId(), key, keyWrapAlgorithm, keyWrapAlgorithmDictionaryString,
452
this.skipKeyInfoForEncryption = encryptionTokenSerialized && this.EncryptedKeyContainsReferenceList && (this.encryptingToken is
WrappedKeySecurityToken
) && this.signThenEncrypt;
485
WrappedKeySecurityToken
wrappedKeyToken = this.encryptingToken as
WrappedKeySecurityToken
;
System\ServiceModel\Security\SspiNegotiationTokenAuthenticator.cs (2)
76
protected virtual void IssueServiceToken(SspiNegotiationTokenAuthenticatorState sspiState, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, out SecurityContextSecurityToken serviceToken, out
WrappedKeySecurityToken
proofToken,
282
WrappedKeySecurityToken
proofToken;
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (2)
370
WrappedKeySecurityToken
wrappedToken = (serviceToken.ProofToken as
WrappedKeySecurityToken
);
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (3)
238
WrappedKeySecurityToken
CreateWrappedKeyToken(SecurityToken wrappingToken, SecurityTokenParameters wrappingTokenParameters, SecurityTokenReferenceStyle wrappingTokenReferenceStyle)
325
if (!(token is
WrappedKeySecurityToken
))
383
SecurityToken wrappingToken = (signingToken as
WrappedKeySecurityToken
).WrappingToken;
System\ServiceModel\Security\WSSecurityJan2004.cs (5)
493
protected override Type[] GetTokenTypesCore() { return new Type[] { typeof(
WrappedKeySecurityToken
) }; }
521
WrappedKeySecurityToken
wrappedKeyToken = CreateWrappedKeyToken(encryptedKey.Id, encryptedKey.EncryptionMethod,
528
WrappedKeySecurityToken
CreateWrappedKeyToken(string id, string encryptionMethod, string carriedKeyName,
596
WrappedKeySecurityToken
wrappedKeyToken = token as
WrappedKeySecurityToken
;
System\ServiceModel\Security\WSSecurityOneDotOneReceiveSecurityHeader.cs (1)
25
protected override DecryptedHeader DecryptHeader(XmlDictionaryReader reader,
WrappedKeySecurityToken
wrappedKeyToken)
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (7)
29
WrappedKeySecurityToken
pendingDecryptionToken;
90
protected virtual DecryptedHeader DecryptHeader(XmlDictionaryReader reader,
WrappedKeySecurityToken
wrappedKeyToken)
97
EncryptedData encryptedData,
WrappedKeySecurityToken
wrappedKeyToken, out SecurityToken encryptionToken)
123
protected override
WrappedKeySecurityToken
DecryptWrappedKey(XmlDictionaryReader reader)
130
WrappedKeySecurityToken
token = (
WrappedKeySecurityToken
)this.StandardsManager.SecurityTokenSerializer.ReadToken(
415
protected override void ProcessReferenceListCore(ReferenceList referenceList,
WrappedKeySecurityToken
wrappedKeyToken)
System\ServiceModel\Security\WSTrust.cs (4)
756
else if (entropyToken is
WrappedKeySecurityToken
)
757
issuerEntropy = ((
WrappedKeySecurityToken
)entropyToken).GetWrappedKey();
1593
else if (requestorEntropyToken is
WrappedKeySecurityToken
)
1595
requestorEntropy = ((
WrappedKeySecurityToken
)requestorEntropyToken).GetWrappedKey();