Implemented interface member:
8 references to Add
System.Security.Cryptography.Cose (8)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (7)
139
public void Add(KeyValuePair<CoseHeaderLabel, CoseHeaderValue> item) =>
Add
(item.Key, item.Value);
147
public void Add(CoseHeaderLabel label, int value) =>
Add
(label, CoseHeaderValue.FromInt32(value));
155
public void Add(CoseHeaderLabel label, string value) =>
Add
(label, CoseHeaderValue.FromString(value));
165
/// To specify a CBOR-encoded value directly, see <see cref="CoseHeaderValue.FromEncodedValue(ReadOnlySpan{byte})"/> and <see cref="
Add
(CoseHeaderLabel, CoseHeaderValue)"/>.
167
public void Add(CoseHeaderLabel label, byte[] value) =>
Add
(label, CoseHeaderValue.FromBytes(value));
177
/// To specify a CBOR-encoded value directly, see <see cref="CoseHeaderValue.FromEncodedValue(ReadOnlySpan{byte})"/> and <see cref="
Add
(CoseHeaderLabel, CoseHeaderValue)"/>.
179
public void Add(CoseHeaderLabel label, ReadOnlySpan<byte> value) =>
Add
(label, CoseHeaderValue.FromBytes(value));
System\Security\Cryptography\Cose\CoseMessage.cs (1)
309
headerParameters.
Add
(label, value);