Share via


Rfc3161TimestampTokenInfo.TryDecode メソッド

定義

エンコードされた TSTInfo 値をデコードします。

public:
 static bool TryDecode(ReadOnlyMemory<System::Byte> encodedBytes, [Runtime::InteropServices::Out] System::Security::Cryptography::Pkcs::Rfc3161TimestampTokenInfo ^ % timestampTokenInfo, [Runtime::InteropServices::Out] int % bytesConsumed);
public static bool TryDecode (ReadOnlyMemory<byte> encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampTokenInfo? timestampTokenInfo, out int bytesConsumed);
public static bool TryDecode (ReadOnlyMemory<byte> encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampTokenInfo timestampTokenInfo, out int bytesConsumed);
static member TryDecode : ReadOnlyMemory<byte> * Rfc3161TimestampTokenInfo * int -> bool
Public Shared Function TryDecode (encodedBytes As ReadOnlyMemory(Of Byte), ByRef timestampTokenInfo As Rfc3161TimestampTokenInfo, ByRef bytesConsumed As Integer) As Boolean

パラメーター

encodedBytes
ReadOnlyMemory<Byte>

入力バッファーまたはソース バッファー。

timestampTokenInfo
Rfc3161TimestampTokenInfo

このメソッドが を true返すと、デコードされたデータが返されます。 このメソッドが を false返す場合、値は です null。つまり、データをデコードできませんでした。

bytesConsumed
Int32

デコードに使用されるバイト数。

戻り値

true 操作が成功した場合は 。 false それ以外の場合は 。

適用対象