Aracılığıyla paylaş


Rfc3161TimestampRequest.TryDecode Yöntem

Tanım

içeriğini DER ile kodlanmış bir Zaman Damgası İsteği olarak yorumlamak encodedBytes için 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

Parametreler

encodedBytes
ReadOnlyMemory<Byte>

DER ile kodlanmış bir zaman damgası isteği içeren arabellek.

request
Rfc3161TimestampRequest

Bu yöntem döndürdüğünde, kodu çözme başarılı olursa veya null kod çözme başarısız olduysa, kodu çözülen zaman damgası isteği başarıyla çözüldü. Bu parametre başlatılmamış olarak değerlendirilir.

bytesConsumed
Int32

Bu yöntem döndürdüğünde, 'den encodedBytesokunan bayt sayısı. Bu parametre başlatılmamış olarak değerlendirilir.

Döndürülenler

true başarılı bir şekilde Zaman Damgası İsteği olarak yorumlandıysa encodedBytes ; değilse, false.

Şunlara uygulanır