CoseHeaderMap クラス

定義

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
実装

コンストラクター

名前 説明
CoseHeaderMap()

CoseHeaderMap クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
Count

ICollection<T>に含まれる要素の数を取得します。

IsReadOnly

ヘッダー マップが読み取り専用かどうかを示す値を取得します。

Item[CoseHeaderLabel]

指定したキーを持つ要素を取得または設定します。

Keys

ICollection<T>のキーを含むIDictionary<TKey,TValue>を取得します。

Values

ICollection<T>内の値を含むIDictionary<TKey,TValue>を取得します。

メソッド

名前 説明
Add(CoseHeaderLabel, Byte[])

指定したラベルと値をヘッダー マップに追加します。

Add(CoseHeaderLabel, CoseHeaderValue)

指定されたキーと値を持つ要素を IDictionary<TKey,TValue>に追加します。

Add(CoseHeaderLabel, Int32)

指定したラベルと値をヘッダー マップに追加します。

Add(CoseHeaderLabel, ReadOnlySpan<Byte>)

指定したラベルと値をヘッダー マップに追加します。

Add(CoseHeaderLabel, String)

指定したラベルと値をヘッダー マップに追加します。

Add(KeyValuePair<CoseHeaderLabel,CoseHeaderValue>)

ICollection<T>に項目を追加します。

Clear()

ICollection<T>からすべての項目を削除します。

Contains(KeyValuePair<CoseHeaderLabel,CoseHeaderValue>)

ICollection<T>に特定の値が含まれているかどうかを判断します。

ContainsKey(CoseHeaderLabel)

指定したキーを持つ要素が IDictionary<TKey,TValue> に含まれているかどうかを判断します。

CopyTo(KeyValuePair<CoseHeaderLabel,CoseHeaderValue>[], Int32)

特定のICollection<T>インデックスから始まるArrayの要素をArrayにコピーします。

GetEnumerator()

コレクションを反復処理する列挙子を返します。

GetValueAsBytes(CoseHeaderLabel, Span<Byte>)

指定したラベルに関連付けられている値をバイト文字列として取得します。

GetValueAsBytes(CoseHeaderLabel)

指定したラベルに関連付けられている値をバイト文字列として取得します。

GetValueAsInt32(CoseHeaderLabel)

指定したラベルに関連付けられている値を符号付き整数として取得します。

GetValueAsString(CoseHeaderLabel)

指定したラベルに関連付けられている値をテキスト文字列として取得します。

Remove(CoseHeaderLabel)

指定したキーを持つ要素を IDictionary<TKey,TValue>から削除します。

Remove(KeyValuePair<CoseHeaderLabel,CoseHeaderValue>)

特定のオブジェクトの最初の出現箇所を ICollection<T>から削除します。

TryGetValue(CoseHeaderLabel, CoseHeaderValue)

指定したキーに関連付けられている値を取得します。

明示的なインターフェイスの実装

名前 説明
IEnumerable.GetEnumerator()

コレクションを反復処理する列挙子を返します。

IReadOnlyDictionary<CoseHeaderLabel,CoseHeaderValue>.Keys

読み取り専用ディクショナリ内のキーを含む列挙可能なコレクションを取得します。

IReadOnlyDictionary<CoseHeaderLabel,CoseHeaderValue>.Values

読み取り専用ディクショナリ内の値を含む列挙可能なコレクションを取得します。

拡張メソッド

名前 説明
ToAsyncEnumerable<TSource>(IEnumerable<TSource>)

IEnumerable<T>IAsyncEnumerable<T>に変換します。

ToFrozenDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)

指定したキー セレクターおよび要素セレクター関数に従って、FrozenDictionary<TKey,TValue> から IEnumerable<T> を作成します。

ToFrozenDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

指定したキー セレクター関数に従って、FrozenDictionary<TKey,TValue>からIEnumerable<T>を作成します。

ToFrozenSet<T>(IEnumerable<T>, IEqualityComparer<T>)

指定した値を持つ FrozenSet<T> を作成します。

ToImmutableArray<TSource>(IEnumerable<TSource>)

指定したコレクションから変更できない配列を作成します。

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IEqualityComparer<TKey>, IEqualityComparer<TValue>)

シーケンスを列挙して変換し、指定したキーと値の比較子を使用してその内容の変更できないディクショナリを生成します。

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IEqualityComparer<TKey>)

シーケンスを列挙して変換し、指定したキー比較子を使用してその内容の変更できないディクショナリを生成します。

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)

シーケンスを列挙して変換し、その内容の変更できないディクショナリを生成します。

ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

シーケンスの変換に基づいて、変更できないディクショナリを構築します。

ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)

変換関数をソース キーに適用して、要素の既存のコレクションから変更できないディクショナリを構築します。

ToImmutableHashSet<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)

シーケンスを列挙し、その内容の変更できないハッシュ セットを生成し、セット型に対して指定された等値比較子を使用します。

ToImmutableHashSet<TSource>(IEnumerable<TSource>)

シーケンスを列挙し、その内容の変更できないハッシュ セットを生成します。

ToImmutableList<TSource>(IEnumerable<TSource>)

シーケンスを列挙し、その内容の変更できないリストを生成します。

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>, IEqualityComparer<TValue>)

シーケンスを列挙して変換し、指定したキーと値の比較子を使用して、その内容の変更できない並べ替えられたディクショナリを生成します。

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>)

シーケンスを列挙して変換し、指定したキー比較子を使用して、その内容の変更できない並べ替えられたディクショナリを生成します。

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)

シーケンスを列挙して変換し、その内容の変更できない並べ替えられたディクショナリを生成します。

ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)

シーケンスを列挙し、その内容の変更できない並べ替えられたセットを生成し、指定された比較子を使用します。

ToImmutableSortedSet<TSource>(IEnumerable<TSource>)

シーケンスを列挙し、その内容の変更できない並べ替えられたセットを生成します。

適用対象