3 types derived from SecurityKey
System.ServiceModel.Primitives (2)
System\IdentityModel\Tokens\AsymmetricSecurityKey.cs (1)
9public abstract class AsymmetricSecurityKey : SecurityKey
System\IdentityModel\Tokens\SymmetricSecurityKey.cs (1)
10public abstract class SymmetricSecurityKey : SecurityKey
System.ServiceModel.Primitives.Tests (1)
Security\securityKeyTest.cs (1)
30public class MockSecurityKey : SecurityKey
61 references to SecurityKey
System.ServiceModel.Primitives (59)
System\IdentityModel\Selectors\SecurityTokenResolver.cs (7)
60public SecurityKey ResolveSecurityKey(SecurityKeyIdentifierClause keyIdentifierClause) 66SecurityKey key; 74public bool TryResolveSecurityKey(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key) 86protected abstract bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key); 104protected override bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key) 114SecurityKey securityKey = _tokens[i].ResolveKeyIdentifierClause(keyIdentifierClause); 130SecurityKey unwrappingSecurityKey = null;
System\IdentityModel\Tokens\AggregateTokenResolver.cs (1)
56protected override bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key)
System\IdentityModel\Tokens\GenericXmlSecurityToken.cs (2)
72public override ReadOnlyCollection<SecurityKey> SecurityKeys 82return EmptyReadOnlyCollection<SecurityKey>.Instance;
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (2)
47public override ReadOnlyCollection<SecurityKey> SecurityKeys 49get { return EmptyReadOnlyCollection<SecurityKey>.Instance; }
System\IdentityModel\Tokens\SecurityKeyIdentifier.cs (1)
77public SecurityKey CreateKey()
System\IdentityModel\Tokens\SecurityKeyIdentifierClause.cs (1)
46public virtual SecurityKey CreateKey()
System\IdentityModel\Tokens\SecurityToken.cs (2)
14public abstract ReadOnlyCollection<SecurityKey> SecurityKeys { get; } 45public virtual SecurityKey ResolveKeyIdentifierClause(SecurityKeyIdentifierClause keyIdentifierClause)
System\IdentityModel\Tokens\UserNameSecurityToken.cs (2)
45public override ReadOnlyCollection<SecurityKey> SecurityKeys 47get { return EmptyReadOnlyCollection<SecurityKey>.Instance; }
System\IdentityModel\Tokens\X509RawDataKeyIdentifierClause.cs (1)
37public override SecurityKey CreateKey()
System\IdentityModel\Tokens\X509SecurityToken.cs (4)
17private ReadOnlyCollection<SecurityKey> _securityKeys; 68public override ReadOnlyCollection<SecurityKey> SecurityKeys 75List<SecurityKey> temp = new List<SecurityKey>(1);
System\ServiceModel\Security\BinarySecretKeyIdentifierClause.cs (1)
38public override SecurityKey CreateKey()
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
605ReadOnlyCollection<SecurityKey> issuedKeys = issuedToken.SecurityKeys;
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
1030protected override bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key)
System\ServiceModel\Security\SecurityAlgorithmSuite.cs (2)
97internal void GetSignatureAlgorithmAndKey(SecurityToken token, out string signatureAlgorithm, out SecurityKey key, out XmlDictionaryString signatureAlgorithmDictionaryString) 99ReadOnlyCollection<SecurityKey> keys = token.SecurityKeys;
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (4)
102private SecurityKey ResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, bool createIntrinsicKeys) 109SecurityKey securityKey; 268internal bool TryResolveSecurityKey(SecurityKeyIdentifierClause keyIdentifierClause, bool createIntrinsicKeys, out SecurityKey key) 278protected override bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key)
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
703ReadOnlyCollection<SecurityKey> issuedKeys = issuedToken.SecurityKeys;
System\ServiceModel\Security\SecurityUtils.cs (6)
314internal static T GetSecurityKey<T>(SecurityToken token) where T : SecurityKey 707public static bool TryCreateKeyFromIntrinsicKeyClause(SecurityKeyIdentifierClause keyIdentifierClause, SecurityTokenResolver resolver, out SecurityKey key) 722SecurityKey unwrappingSecurityKey = null; 817internal static ReadOnlyCollection<SecurityKey> CreateSymmetricSecurityKeys(byte[] key) 819List<SecurityKey> temp = new List<SecurityKey>(1);
System\ServiceModel\Security\Tokens\BinarySecretSecurityToken.cs (4)
16private ReadOnlyCollection<SecurityKey> _securityKeys; 51_securityKeys = EmptyReadOnlyCollection<SecurityKey>.Instance; 72_securityKeys = EmptyReadOnlyCollection<SecurityKey>.Instance; 97public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (5)
37private ReadOnlyCollection<SecurityKey> _securityKeys; 94public override ReadOnlyCollection<SecurityKey> SecurityKeys 116internal bool TryGetSecurityKeys(out ReadOnlyCollection<SecurityKey> keys) 207List<SecurityKey> temp = new List<SecurityKey>(1);
System\ServiceModel\Security\Tokens\DerivedKeySecurityTokenStub.cs (1)
40public override ReadOnlyCollection<SecurityKey> SecurityKeys => null;
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (5)
21private ReadOnlyCollection<SecurityKey> _securityKeys; 88public override ReadOnlyCollection<SecurityKey> SecurityKeys 162List<SecurityKey> temp = new List<SecurityKey>(1); 164_securityKeys = new ReadOnlyCollection<SecurityKey>(temp);
System\ServiceModel\Security\Tokens\SspiSecurityToken.cs (2)
77public override ReadOnlyCollection<SecurityKey> SecurityKeys 81return EmptyReadOnlyCollection<SecurityKey>.Instance;
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (3)
508SecurityKey signatureKey; 540private void GetSigningAlgorithm(SecurityKey signatureKey, string algorithmName, out KeyedHashAlgorithm symmetricAlgorithm, out AsymmetricAlgorithm asymmetricAlgorithm) 583SecurityKey signatureKey;
System.ServiceModel.Primitives.Tests (2)
IdentityModel\SecurityTokenManagerTest.cs (1)
78protected override bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key)
IdentityModel\SecurityTokenProviderTest.cs (1)
260public override ReadOnlyCollection<SecurityKey> SecurityKeys => default;