CoseHeaderMap 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 COSE 消息的标头参数的集合。
public ref class CoseHeaderMap sealed : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::Security::Cryptography::Cose::CoseHeaderLabel, System::Security::Cryptography::Cose::CoseHeaderValue>>, System::Collections::Generic::IDictionary<System::Security::Cryptography::Cose::CoseHeaderLabel, System::Security::Cryptography::Cose::CoseHeaderValue>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::Security::Cryptography::Cose::CoseHeaderLabel, System::Security::Cryptography::Cose::CoseHeaderValue>>, System::Collections::Generic::IReadOnlyCollection<System::Collections::Generic::KeyValuePair<System::Security::Cryptography::Cose::CoseHeaderLabel, System::Security::Cryptography::Cose::CoseHeaderValue>>, System::Collections::Generic::IReadOnlyDictionary<System::Security::Cryptography::Cose::CoseHeaderLabel, System::Security::Cryptography::Cose::CoseHeaderValue>
public sealed class CoseHeaderMap : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Security.Cryptography.Cose.CoseHeaderLabel,System.Security.Cryptography.Cose.CoseHeaderValue>>, System.Collections.Generic.IDictionary<System.Security.Cryptography.Cose.CoseHeaderLabel,System.Security.Cryptography.Cose.CoseHeaderValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Security.Cryptography.Cose.CoseHeaderLabel,System.Security.Cryptography.Cose.CoseHeaderValue>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.Security.Cryptography.Cose.CoseHeaderLabel,System.Security.Cryptography.Cose.CoseHeaderValue>>, System.Collections.Generic.IReadOnlyDictionary<System.Security.Cryptography.Cose.CoseHeaderLabel,System.Security.Cryptography.Cose.CoseHeaderValue>
type CoseHeaderMap = class
interface IDictionary<CoseHeaderLabel, CoseHeaderValue>
interface ICollection<KeyValuePair<CoseHeaderLabel, CoseHeaderValue>>
interface seq<KeyValuePair<CoseHeaderLabel, CoseHeaderValue>>
interface IEnumerable
interface IReadOnlyDictionary<CoseHeaderLabel, CoseHeaderValue>
interface IReadOnlyCollection<KeyValuePair<CoseHeaderLabel, CoseHeaderValue>>
Public NotInheritable Class CoseHeaderMap
Implements ICollection(Of KeyValuePair(Of CoseHeaderLabel, CoseHeaderValue)), IDictionary(Of CoseHeaderLabel, CoseHeaderValue), IEnumerable(Of KeyValuePair(Of CoseHeaderLabel, CoseHeaderValue)), IReadOnlyCollection(Of KeyValuePair(Of CoseHeaderLabel, CoseHeaderValue)), IReadOnlyDictionary(Of CoseHeaderLabel, CoseHeaderValue)
- 继承
-
CoseHeaderMap
- 实现
-
ICollection<KeyValuePair<CoseHeaderLabel,CoseHeaderValue>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<CoseHeaderLabel,CoseHeaderValue> IEnumerable<KeyValuePair<CoseHeaderLabel,CoseHeaderValue>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IReadOnlyCollection<KeyValuePair<CoseHeaderLabel,CoseHeaderValue>> IReadOnlyCollection<KeyValuePair<TKey,TValue>> IReadOnlyDictionary<CoseHeaderLabel,CoseHeaderValue> IEnumerable
构造函数
| 名称 | 说明 |
|---|---|
| CoseHeaderMap() |
初始化 CoseHeaderMap 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| Count |
获取包含在 . 中的 ICollection<T>元素数。 |
| IsReadOnly |
获取一个值,该值指示标头映射是否为只读。 |
| Item[CoseHeaderLabel] |
获取或设置具有指定键的元素。 |
| Keys |
获取一个ICollection<T>包含 . 的键。IDictionary<TKey,TValue> |
| Values |
获取一个 ICollection<T> 包含值中的 IDictionary<TKey,TValue>值。 |
方法
显式接口实现
| 名称 | 说明 |
|---|---|
| IEnumerable.GetEnumerator() |
返回循环访问集合的枚举器。 |
| IReadOnlyDictionary<CoseHeaderLabel,CoseHeaderValue>.Keys |
获取一个可枚举集合,该集合包含只读字典中的键。 |
| IReadOnlyDictionary<CoseHeaderLabel,CoseHeaderValue>.Values |
获取一个可枚举集合,该集合包含只读字典中的值。 |