Rfc3161TimestampRequest.TryDecode 메서드

정의

콘텐츠를 DER로 인코딩된 타임스탬프 요청으로 해석 encodedBytes 하는 Attemps입니다.

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

매개 변수

encodedBytes
ReadOnlyMemory<Byte>

DER로 인코딩된 타임스탬프 요청을 포함하는 버퍼입니다.

request
Rfc3161TimestampRequest

이 메서드가 반환되면 디코딩에 성공하거나 null 디코딩에 실패한 경우 성공적으로 디코딩된 타임스탬프 요청입니다. 이 매개 변수는 초기화되지 않은 것으로 처리됩니다.

bytesConsumed
Int32

이 메서드가 반환되면 읽 encodedBytes은 바이트 수입니다. 이 매개 변수는 초기화되지 않은 것으로 처리됩니다.

반품

타임스탬프 요청으로 성공적으로 해석되었으면 /&a0>이고, 그렇지 않으면 .

적용 대상