HKDF.Expand メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| Expand(HashAlgorithmName, Byte[], Int32, Byte[]) |
RFC5869のセクション 2.3 を参照して、 HKDF-Expand 関数を実行します。 |
| Expand(HashAlgorithmName, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>) |
HKDF-Expand 関数を実行します。 RFC5869のセクション 2.3 を参照してください。 |
Expand(HashAlgorithmName, Byte[], Int32, Byte[])
- ソース:
- HKDF.cs
- ソース:
- HKDF.cs
- ソース:
- HKDF.cs
- ソース:
- HKDF.cs
- ソース:
- HKDF.cs
RFC5869のセクション 2.3 を参照して、 HKDF-Expand 関数を実行します。
public static byte[] Expand(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, byte[] prk, int outputLength, byte[]? info = default);
static member Expand : System.Security.Cryptography.HashAlgorithmName * byte[] * int * byte[] -> byte[]
Public Shared Function Expand (hashAlgorithmName As HashAlgorithmName, prk As Byte(), outputLength As Integer, Optional info As Byte() = Nothing) As Byte()
パラメーター
- hashAlgorithmName
- HashAlgorithmName
HMAC 操作に使用されるハッシュ アルゴリズム。
- prk
- Byte[]
指定されたハッシュ アルゴリズムの出力バイト配列 (通常は抽出ステップからの出力) の少なくとも長さの擬似乱数キー。
- outputLength
- Int32
出力キーマテリアルの長さ。
- info
- Byte[]
省略可能なコンテキストとアプリケーション固有の情報。
返品
出力キーマテリアル。
例外
prkが null。
outputLength が 1 未満です。
適用対象
Expand(HashAlgorithmName, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>)
- ソース:
- HKDF.cs
- ソース:
- HKDF.cs
- ソース:
- HKDF.cs
- ソース:
- HKDF.cs
- ソース:
- HKDF.cs
HKDF-Expand 関数を実行します。 RFC5869のセクション 2.3 を参照してください。
public:
static void Expand(System::Security::Cryptography::HashAlgorithmName hashAlgorithmName, ReadOnlySpan<System::Byte> prk, Span<System::Byte> output, ReadOnlySpan<System::Byte> info);
public static void Expand(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, ReadOnlySpan<byte> prk, Span<byte> output, ReadOnlySpan<byte> info);
static member Expand : System.Security.Cryptography.HashAlgorithmName * ReadOnlySpan<byte> * Span<byte> * ReadOnlySpan<byte> -> unit
Public Shared Sub Expand (hashAlgorithmName As HashAlgorithmName, prk As ReadOnlySpan(Of Byte), output As Span(Of Byte), info As ReadOnlySpan(Of Byte))
パラメーター
- hashAlgorithmName
- HashAlgorithmName
HMAC 操作に使用されるハッシュ アルゴリズム。
- prk
- ReadOnlySpan<Byte>
指定されたハッシュ アルゴリズムの出力バイト配列 (通常は抽出ステップからの出力) と同じ長さの擬似乱数キー。
- info
- ReadOnlySpan<Byte>
コンテキストとアプリケーション固有の情報 (空のスパンを指定できます)。
例外
output が空であるか、許容される最大長を超えています。