3 types derived from SecurityKey
System.IdentityModel (3)
System\IdentityModel\Tokens\AsymmetricSecurityKey.cs (1)
9public abstract class AsymmetricSecurityKey : SecurityKey
System\IdentityModel\Tokens\SecurityKeyElement.cs (1)
16public class SecurityKeyElement : SecurityKey
System\IdentityModel\Tokens\SymmetricSecurityKey.cs (1)
9public abstract class SymmetricSecurityKey : SecurityKey
171 references to SecurityKey
System.IdentityModel (116)
System\IdentityModel\EnvelopedSignatureReader.cs (1)
190SecurityKey signingKey = null;
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (1)
2372SecurityKey wrappingKey = null;
System\IdentityModel\SecurityUtils.cs (5)
95internal static ReadOnlyCollection<SecurityKey> CreateSymmetricSecurityKeys( byte[] key ) 97List<SecurityKey> temp = new List<SecurityKey>( 1 ); 104SecurityKey wrappingSecurityKey = null; 502internal static byte[] DecryptKey(SecurityToken unwrappingToken, string encryptionMethod, byte[] wrappedKey, out SecurityKey unwrappingSecurityKey)
System\IdentityModel\Selectors\SecurityTokenResolver.cs (7)
60public SecurityKey ResolveSecurityKey(SecurityKeyIdentifierClause keyIdentifierClause) 66SecurityKey key; 74public bool TryResolveSecurityKey(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key) 95protected abstract bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key); 117protected override bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key) 125SecurityKey securityKey = this.tokens[i].ResolveKeyIdentifierClause(keyIdentifierClause); 141SecurityKey unwrappingSecurityKey = null;
System\IdentityModel\SignedXml.cs (2)
105public void ComputeSignature(SecurityKey signingKey) 211public void StartSignatureVerification(SecurityKey verificationKey)
System\IdentityModel\Tokens\AggregateTokenResolver.cs (1)
59protected override bool TryResolveSecurityKeyCore( SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key )
System\IdentityModel\Tokens\EncryptedSecurityToken.cs (2)
87public override SecurityKey ResolveKeyIdentifierClause(SecurityKeyIdentifierClause keyIdentifierClause) 95public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\EncryptedSecurityTokenHandler.cs (2)
114/// <exception cref="EncryptedTokenDecryptionFailedException">The <see cref="SecurityKeyIdentifier"/> found inside the xml cannot be resolved by Configuration.ServiceTokenResolver to a <see cref="SecurityKey"/>.</exception> 144SecurityKey decryptionKey = null;
System\IdentityModel\Tokens\EncryptingCredentials.cs (3)
18SecurityKey _key; 38public EncryptingCredentials(SecurityKey key, SecurityKeyIdentifier keyIdentifier, string algorithm) 88public SecurityKey SecurityKey
System\IdentityModel\Tokens\GenericXmlSecurityToken.cs (2)
97public override ReadOnlyCollection<SecurityKey> SecurityKeys 104return EmptyReadOnlyCollection<SecurityKey>.Instance;
System\IdentityModel\Tokens\IssuerTokenResolver.cs (1)
71protected override bool TryResolveSecurityKeyCore( SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key )
System\IdentityModel\Tokens\KerberosReceiverSecurityToken.cs (4)
19ReadOnlyCollection<SecurityKey> securityKeys = null; 68public override ReadOnlyCollection<SecurityKey> SecurityKeys 74List<SecurityKey> temp = new List<SecurityKey>(1);
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (4)
23ReadOnlyCollection<SecurityKey> securityKeys; 84public override ReadOnlyCollection<SecurityKey> SecurityKeys 90List<SecurityKey> temp = new List<SecurityKey>(1);
System\IdentityModel\Tokens\RsaKeyIdentifierClause.cs (1)
38public override SecurityKey CreateKey()
System\IdentityModel\Tokens\RsaSecurityToken.cs (4)
19ReadOnlyCollection<SecurityKey> rsaKey; 166public override ReadOnlyCollection<SecurityKey> SecurityKeys 172List<SecurityKey> keys = new List<SecurityKey>(1);
System\IdentityModel\Tokens\Saml2SecurityToken.cs (6)
18private ReadOnlyCollection<SecurityKey> keys; 26: this(assertion, EmptyReadOnlyCollection<SecurityKey>.Instance, null) 34/// <param name="keys">A collection of <see cref="SecurityKey"/> to include in the token.</param> 36public Saml2SecurityToken(Saml2Assertion assertion, ReadOnlyCollection<SecurityKey> keys, SecurityToken issuerToken) 78/// Gets the collection of <see cref="SecurityKey"/> contained in this token. 80public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (12)
644ReadOnlyCollection<SecurityKey> keys = this.ResolveSecurityKeys(assertion, Configuration.ServiceTokenResolver); 784SecurityKey decryptionKey = null; 2129/// Resolves the collection of <see cref="SecurityKey"/> referenced in a <see cref="Saml2Assertion"/>. 2132/// <param name="resolver"><see cref="SecurityTokenResolver"/> to use in resolving the <see cref="SecurityKey"/>.</param> 2133/// <returns>A read only collection of <see cref="SecurityKey"/> contained in the assertion.</returns> 2134protected virtual ReadOnlyCollection<SecurityKey> ResolveSecurityKeys(Saml2Assertion assertion, SecurityTokenResolver resolver) 2163ReadOnlyCollection<SecurityKey> securityKeys; 2178securityKeys = EmptyReadOnlyCollection<SecurityKey>.Instance; 2189List<SecurityKey> holderKeys = new List<SecurityKey>(); 2190SecurityKey key; 5636public ReceivedEncryptingCredentials(SecurityKey key, SecurityKeyIdentifier keyIdentifier, string algorithm)
System\IdentityModel\Tokens\SamlAssertion.cs (11)
29ReadOnlyCollection<SecurityKey> cryptoList; 33SecurityKey verificationKey; 214internal SecurityKey SignatureVerificationKey 236internal ReadOnlyCollection<SecurityKey> SecurityKeys 341private static SecurityKey ResolveSecurityKey(SecurityKeyIdentifier ski, SecurityTokenResolver tokenResolver, out SecurityKeyIdentifierClause clause) 352SecurityKey key = null; 404ReadOnlyCollection<SecurityKey> BuildCryptoList() 406List<SecurityKey> cryptoList = new List<SecurityKey>(); 414SecurityKey crypto = null; 454void VerifySignature(SignedXml signature, SecurityKey signatureVerificationKey)
System\IdentityModel\Tokens\SamlSecurityToken.cs (1)
52public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (3)
2362SecurityKey key = ResolveSubjectKeyIdentifier(subject.KeyIdentifier); 3348protected virtual SecurityKey ResolveSubjectKeyIdentifier(SecurityKeyIdentifier subjectKeyIdentifier) 3365SecurityKey key = null;
System\IdentityModel\Tokens\SamlSerializer.cs (2)
197internal static SecurityKey ResolveSecurityKey(SecurityKeyIdentifier ski, SecurityTokenResolver tokenResolver) 206SecurityKey key = null;
System\IdentityModel\Tokens\SamlSubject.cs (2)
26SecurityKey crypto; 162public SecurityKey Crypto
System\IdentityModel\Tokens\SecurityKeyElement.cs (1)
18SecurityKey _securityKey;
System\IdentityModel\Tokens\SecurityKeyIdentifier.cs (1)
79public SecurityKey CreateKey()
System\IdentityModel\Tokens\SecurityKeyIdentifierClause.cs (1)
48public virtual SecurityKey CreateKey()
System\IdentityModel\Tokens\SecurityToken.cs (2)
12public abstract ReadOnlyCollection<SecurityKey> SecurityKeys { get; } 39public virtual SecurityKey ResolveKeyIdentifierClause(SecurityKeyIdentifierClause keyIdentifierClause)
System\IdentityModel\Tokens\SessionSecurityToken.cs (6)
66ReadOnlyCollection<SecurityKey> _securityKeys; 324_securityKeys = new ReadOnlyCollection<SecurityKey>(new SecurityKey[] { new InMemorySymmetricSecurityKey(key) }); 513_securityKeys = new ReadOnlyCollection<SecurityKey>(new SecurityKey[] { new InMemorySymmetricSecurityKey(key) }); 654public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\SigningCredentials.cs (4)
13SecurityKey signingKey; 16public SigningCredentials(SecurityKey signingKey, string signatureAlgorithm, string digestAlgorithm) : 20public SigningCredentials(SecurityKey signingKey, string signatureAlgorithm, string digestAlgorithm, SecurityKeyIdentifier signingKeyIdentifier) 51public SecurityKey SigningKey
System\IdentityModel\Tokens\UserNameSecurityToken.cs (2)
39public override ReadOnlyCollection<SecurityKey> SecurityKeys 41get { return EmptyReadOnlyCollection<SecurityKey>.Instance; }
System\IdentityModel\Tokens\WindowsSecurityToken.cs (2)
93public override ReadOnlyCollection<SecurityKey> SecurityKeys 95get { return EmptyReadOnlyCollection<SecurityKey>.Instance; }
System\IdentityModel\Tokens\WrappedSaml2AssertionKeyIdentifierClause.cs (2)
54/// <returns>A <see cref="SecurityKey"/></returns> 55public override SecurityKey CreateKey()
System\IdentityModel\Tokens\X509CertificateStoreTokenResolver.cs (2)
80protected override bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key) 96SecurityKey unwrappingSecurityKey = null;
System\IdentityModel\Tokens\X509RawDataKeyIdentifierClause.cs (1)
36public override SecurityKey CreateKey()
System\IdentityModel\Tokens\X509SecurityToken.cs (4)
15ReadOnlyCollection<SecurityKey> securityKeys; 64public override ReadOnlyCollection<SecurityKey> SecurityKeys 71List<SecurityKey> temp = new List<SecurityKey>(1);
System\ServiceModel\Security\BinarySecretKeyIdentifierClause.cs (1)
41public override SecurityKey CreateKey()
System\ServiceModel\Security\Tokens\BinarySecretSecurityToken.cs (4)
18ReadOnlyCollection<SecurityKey> securityKeys; 63this.securityKeys = EmptyReadOnlyCollection<SecurityKey>.Instance; 82this.securityKeys = EmptyReadOnlyCollection<SecurityKey>.Instance; 107public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\ServiceModel\Security\Tokens\WrappedKeySecurityToken.cs (6)
22ReadOnlyCollection<SecurityKey> securityKey; 27SecurityKey wrappingSecurityKey; 71internal WrappedKeySecurityToken(string id, byte[] keyToWrap, string wrappingAlgorithm, SecurityToken wrappingToken, SecurityKeyIdentifier wrappingTokenReference, byte[] wrappedKey, SecurityKey wrappingSecurityKey) 76WrappedKeySecurityToken(string id, byte[] keyToWrap, string wrappingAlgorithm, XmlDictionaryString wrappingAlgorithmDictionaryString, SecurityToken wrappingToken, SecurityKeyIdentifier wrappingTokenReference, byte[] wrappedKey, SecurityKey wrappingSecurityKey) 148internal SecurityKey WrappingSecurityKey 168public override ReadOnlyCollection<SecurityKey> SecurityKeys
System.IdentityModel.Selectors (6)
infocard\client\System\IdentityModel\Selectors\InfoCardProofToken.cs (6)
23ReadOnlyCollection<SecurityKey> m_securityKeys; 24SecurityKey m_securityKey; 47public override ReadOnlyCollection<SecurityKey> SecurityKeys 65private void InitCrypto(SecurityKey securityKey) 68List<SecurityKey> securityKeys = new List<SecurityKey>(1);
System.ServiceModel (49)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (4)
321ReadOnlyCollection<SecurityKey> keys; 381public override ReadOnlyCollection<SecurityKey> SecurityKeys 387this.keys = new ReadOnlyCollection<SecurityKey>(new List<SecurityKey>());
System\ServiceModel\Security\DerivedKeyCachingSecurityTokenSerializer.cs (3)
203ReadOnlyCollection<SecurityKey> keys; 248public ReadOnlyCollection<SecurityKey> SecurityKeys 258ReadOnlyCollection<SecurityKey> computedKeys;
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
659ReadOnlyCollection<SecurityKey> issuedKeys = issuedToken.SecurityKeys;
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
2102protected override bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key)
System\ServiceModel\Security\SecurityAlgorithmSuite.cs (4)
292internal void GetSignatureAlgorithmAndKey(SecurityToken token, out string signatureAlgorithm, out SecurityKey key, out XmlDictionaryString signatureAlgorithmDictionaryString) 294ReadOnlyCollection<SecurityKey> keys = token.SecurityKeys; 359internal void EnsureAcceptableSignatureKeySize(SecurityKey securityKey, SecurityToken token) 447internal void EnsureAcceptableSignatureAlgorithm(SecurityKey verificationKey, string algorithm)
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (4)
112SecurityKey ResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, bool createIntrinsicKeys) 119SecurityKey securityKey; 288internal bool TryResolveSecurityKey(SecurityKeyIdentifierClause keyIdentifierClause, bool createIntrinsicKeys, out SecurityKey key) 298protected override bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key)
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
800ReadOnlyCollection<SecurityKey> issuedKeys = issuedToken.SecurityKeys;
System\ServiceModel\Security\SecurityUtils.cs (9)
554where T : SecurityKey 625internal static ReadOnlyCollection<SecurityKey> CreateSymmetricSecurityKeys(byte[] key) 627List<SecurityKey> temp = new List<SecurityKey>(1); 632internal static byte[] DecryptKey(SecurityToken unwrappingToken, string encryptionMethod, byte[] wrappedKey, out SecurityKey unwrappingSecurityKey) 655SecurityKey wrappingSecurityKey = null; 2254public static bool TryCreateKeyFromIntrinsicKeyClause(SecurityKeyIdentifierClause keyIdentifierClause, SecurityTokenResolver resolver, out SecurityKey key) 2269SecurityKey unwrappingSecurityKey = null; 2287SecurityKey unwrappingSecurityKey = unwrappingToken.SecurityKeys[0];
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (1)
418protected override bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key)
System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (6)
47ReadOnlyCollection<SecurityKey> securityKeys; 143public override ReadOnlyCollection<SecurityKey> SecurityKeys 166internal bool TryGetSecurityKeys(out ReadOnlyCollection<SecurityKey> keys) 267List<SecurityKey> temp = new List<SecurityKey>(1); 272internal void InitializeDerivedKey(ReadOnlyCollection<SecurityKey> securityKeys)
System\ServiceModel\Security\Tokens\DerivedKeySecurityTokenStub.cs (1)
55public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\ServiceModel\Security\Tokens\ProviderBackedSecurityToken.cs (1)
116public override System.Collections.ObjectModel.ReadOnlyCollection<SecurityKey> SecurityKeys
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (4)
28ReadOnlyCollection<SecurityKey> securityKeys; 169public override ReadOnlyCollection<SecurityKey> SecurityKeys 276List<SecurityKey> temp = new List<SecurityKey>(1);
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenResolver.cs (1)
121protected override bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key)
System\ServiceModel\Security\Tokens\SspiSecurityToken.cs (2)
104public override ReadOnlyCollection<SecurityKey> SecurityKeys 108return EmptyReadOnlyCollection<SecurityKey>.Instance;
System\ServiceModel\Security\WrappedTokenCache.cs (1)
165protected override bool TryResolveSecurityKeyCore(SecurityKeyIdentifierClause keyIdentifierClause, out SecurityKey key)
System\ServiceModel\Security\WSSecurityJan2004.cs (1)
588SecurityKey unwrappingSecurityKey;
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (2)
589ReadOnlyCollection<SecurityKey> keys = token.SecurityKeys; 590SecurityKey securityKey = (keys != null && keys.Count > 0) ? keys[0] : null;
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (2)
33SecurityKey signatureKey; 688SecurityKey signatureKey;