Rfc3161TimestampRequest.ProcessResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Combines an encoded timestamp response with this request to produce a 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
Parameters
- responseBytes
- ReadOnlyMemory<Byte>
The DER encoded timestamp response.
- bytesConsumed
- Int32
When this method returns, the number of bytes that were read from responseBytes
. This parameter is treated as uninitialized.
Returns
The timestamp token from the response that corresponds to this request.
Remarks
This method interprets the beginning of responseBytes
as an IETF RFC 3161 TimeStampResp
.
If the response cannot be decoded, the response status is not granted
or grantedWithMods
, the issued timestamp token does not successfully decode,
or the timestamp token does not match this request per the acceptance criteria of IETF RFC 3161 (chiefly, sections 2.4.1 and 2.4.2), then
a CryptographicException is thrown.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示