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 の特定のインデックスからコピーが開始されます。

Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetEnumerator()

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

GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
GetValueAsBytes(CoseHeaderLabel)

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

GetValueAsBytes(CoseHeaderLabel, Span<Byte>)

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

GetValueAsInt32(CoseHeaderLabel)

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

GetValueAsString(CoseHeaderLabel)

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

MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
Remove(CoseHeaderLabel)

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

Remove(KeyValuePair<CoseHeaderLabel,CoseHeaderValue>)

特定のオブジェクトが ICollection<T> 内にあるときに、最初に出現したものを削除します。

ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)
TryGetValue(CoseHeaderLabel, CoseHeaderValue)

COSE メッセージのヘッダー パラメーターのコレクションを表します。

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

IEnumerable.GetEnumerator()

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

IReadOnlyDictionary<CoseHeaderLabel,CoseHeaderValue>.Keys

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

IReadOnlyDictionary<CoseHeaderLabel,CoseHeaderValue>.Values

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

拡張メソッド

AsReadOnly<TKey,TValue>(IDictionary<TKey,TValue>)

現在のディクショナリの読み取り専用 ReadOnlyDictionary<TKey,TValue> ラッパーを返します。

適用対象