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