22 references to _headerParameters
System.Security.Cryptography.Cose (22)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (22)
37private ICollection<KeyValuePair<CoseHeaderLabel, CoseHeaderValue>> HeaderParametersAsCollection => _headerParameters; 43public ICollection<CoseHeaderLabel> Keys => _headerParameters.Keys; 49public ICollection<CoseHeaderValue> Values => _headerParameters.Values; 55public int Count => _headerParameters.Count; 58IEnumerable<CoseHeaderLabel> IReadOnlyDictionary<CoseHeaderLabel, CoseHeaderValue>.Keys => _headerParameters.Keys; 61IEnumerable<CoseHeaderValue> IReadOnlyDictionary<CoseHeaderLabel, CoseHeaderValue>.Values => _headerParameters.Values; 73get => _headerParameters[key]; 78_headerParameters[key] = value; 89public int GetValueAsInt32(CoseHeaderLabel label) => _headerParameters[label].GetValueAsInt32(); 98public string GetValueAsString(CoseHeaderLabel label) => _headerParameters[label].GetValueAsString(); 106public byte[] GetValueAsBytes(CoseHeaderLabel label) => _headerParameters[label].GetValueAsBytes(); 117public int GetValueAsBytes(CoseHeaderLabel label, Span<byte> destination) => _headerParameters[label].GetValueAsBytes(destination); 130_headerParameters.Add(key, value); 182public bool ContainsKey(CoseHeaderLabel key) => _headerParameters.ContainsKey(key); 185public bool TryGetValue(CoseHeaderLabel key, out CoseHeaderValue value) => _headerParameters.TryGetValue(key, out value); 194_headerParameters.Clear(); 207=> _headerParameters.GetEnumerator(); 211=> _headerParameters.GetEnumerator(); 222return _headerParameters.Remove(label); 337if (map._headerParameters.Count == 0 && isProtected && !shouldSlipAlgHeader) 342int mapLength = map._headerParameters.Count; 388int mapLength = map._headerParameters.Count;