Aes.GetKeyWrapPaddedLength(Int32) メソッド

定義

指定されたプレーンテキスト長の埋め込みアルゴリズムを使用して IETF RFC 5649 AES キー ラップの出力長を計算します。

public:
 static int GetKeyWrapPaddedLength(int plaintextLengthInBytes);
public static int GetKeyWrapPaddedLength(int plaintextLengthInBytes);
static member GetKeyWrapPaddedLength : int -> int
Public Shared Function GetKeyWrapPaddedLength (plaintextLengthInBytes As Integer) As Integer

パラメーター

plaintextLengthInBytes
Int32

ラップするプレーンテキストの長さ (バイト単位)。

返品

指定したプレーンテキストのキー ラップの埋め込まれた長さ。

例外

plaintextLengthInBytes が 0 以下です。

-又は-

plaintextLengthInBytes は、ラップ時に符号付き 32 ビット整数として表すことができない長さを持つプレーンテキストの長さを表します。

適用対象