2 writes to _key
System.ServiceModel.Primitives (2)
System\ServiceModel\Security\Tokens\BinarySecretSecurityToken.cs (2)
42_key = new byte[keySizeInBits / 8]; 64_key = new byte[key.Length];
5 references to _key
System.ServiceModel.Primitives (5)
System\ServiceModel\Security\Tokens\BinarySecretSecurityToken.cs (5)
43CryptoHelper.FillRandomBytes(_key); 65Buffer.BlockCopy(key, 0, _key, 0, key.Length); 68_securityKeys = SecurityUtils.CreateSymmetricSecurityKeys(_key); 94get { return (_key.Length * 8); } 104return SecurityUtils.CloneBuffer(_key);