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