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