2 writes to key
System.IdentityModel (2)
System\ServiceModel\Security\Tokens\BinarySecretSecurityToken.cs (2)
54this.key = new byte[keySizeInBits / 8]; 74this.key = new byte[key.Length];
6 references to key
System.IdentityModel (6)
System\ServiceModel\Security\Tokens\BinarySecretSecurityToken.cs (6)
55CryptoHelper.FillRandomBytes(this.key); 59this.securityKeys = SecurityUtils.CreateSymmetricSecurityKeys(this.key); 75Buffer.BlockCopy(key, 0, this.key, 0, key.Length); 78this.securityKeys = SecurityUtils.CreateSymmetricSecurityKeys(this.key); 104get { return (this.key.Length * 8); } 114return SecurityUtils.CloneBuffer(this.key);