System.ServiceModel.Primitives reference assembly is missing SymmetricSecurityKey.GetKeyedHashAlgorithm(string) method
Describe the bug When trying to use the GetKeyedHashAlgorithm on the System.IdentityModel.Tokens.SymmetricSecurityKey class, the IDE and compiler says that the method is missing.
Investigating the issue I noticed that the method exists in the source code and in the lib file in the nuget package, but is missing from the ref dll in the nuget package.
To Reproduce Steps to reproduce the behavior:
- Create a new project
- Add a package reference to <PackageReference Include="System.ServiceModel.Primitives" Version="6.0.0" />
- Try to call GetKeyedHashAlgorithm(string)
Expected behavior It should be possible to invoke the method. (Or it should not be in the API documentation)
SymmetricSecurityKey is used when using full Message security (message encrypted at the SOAP message level) which isn't currently supported. Can you provide some context on what you need this for?