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)
43
CryptoHelper.FillRandomBytes(
_key
);
65
Buffer.BlockCopy(key, 0,
_key
, 0, key.Length);
68
_securityKeys = SecurityUtils.CreateSymmetricSecurityKeys(
_key
);
94
get { return (
_key
.Length * 8); }
104
return SecurityUtils.CloneBuffer(
_key
);