Rfc3161TimestampRequest.ProcessResponse メソッド

定義

エンコードされたタイムスタンプ応答とこの要求を組み合わせて、 Rfc3161TimestampTokenを生成します。

public:
 System::Security::Cryptography::Pkcs::Rfc3161TimestampToken ^ ProcessResponse(ReadOnlyMemory<System::Byte> responseBytes, [Runtime::InteropServices::Out] int % bytesConsumed);
public System.Security.Cryptography.Pkcs.Rfc3161TimestampToken ProcessResponse(ReadOnlyMemory<byte> responseBytes, out int bytesConsumed);
member this.ProcessResponse : ReadOnlyMemory<byte> * int -> System.Security.Cryptography.Pkcs.Rfc3161TimestampToken
Public Function ProcessResponse (responseBytes As ReadOnlyMemory(Of Byte), ByRef bytesConsumed As Integer) As Rfc3161TimestampToken

パラメーター

responseBytes
ReadOnlyMemory<Byte>

DER でエンコードされたタイムスタンプ応答。

bytesConsumed
Int32

このメソッドが返されるときに、 responseBytesから読み取られたバイト数。 このパラメーターは、初期化されていないものとして扱われます。

返品

この要求に対応する応答からのタイムスタンプ トークン。

注釈

このメソッドは、 responseBytes の先頭を IETF RFC 3161 TimeStampRespとして解釈します。 応答をデコードできない場合、応答の状態が granted または grantedWithModsされていない、発行されたタイムスタンプ トークンが正常にデコードされない、またはタイムスタンプ トークンが IETF RFC 3161 (主にセクション 2.4.1 および 2.4.2) の受け入れ基準に従ってこの要求に一致しない場合は、 CryptographicException がスローされます。

適用対象