Rfc3161TimestampTokenInfo.TryDecode Yöntem

Tanım

Kodlanmış TSTInfo değerinin kodunu çözer.

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

Parametreler

encodedBytes
ReadOnlyMemory<Byte>

Giriş veya kaynak arabelleği.

timestampTokenInfo
Rfc3161TimestampTokenInfo

Bu yöntem döndürdüğünde truekodu çözülen veriler. Bu yöntem döndürdüğünde falsedeğeri olur nullve bu da verilerin kodunun çözülemediği anlamına gelir.

bytesConsumed
Int32

Kod çözme için kullanılan bayt sayısı.

Döndürülenler

true işlem başarılı olursa; false Aksi takdir -de.

Şunlara uygulanır