DefaultEDSManagerDecodeCertificateFromSignature - метод
Извлекает сертификат из подписи. Возвращает сертификат и текст ошибки, если сертификат равен null.
Пространство имён: Tessa.Extensions.Default.Shared.EDSСборка: Tessa.Extensions.Default.Shared (в Tessa.Extensions.Default.Shared.dll) Версия: 4.0.4
public override (IEDSCertificate Certificate, string ErrorText) DecodeCertificateFromSignature(
byte[] encodedSignature,
CancellationToken cancellationToken = default
)
Public Overrides Function DecodeCertificateFromSignature (
encodedSignature As Byte(),
Optional cancellationToken As CancellationToken = Nothing
) As (Certificate As IEDSCertificate, ErrorText As String)
public:
virtual ValueTuple<IEDSCertificate^, String^> DecodeCertificateFromSignature(
array<unsigned char>^ encodedSignature,
CancellationToken cancellationToken = CancellationToken()
) override
abstract DecodeCertificateFromSignature :
encodedSignature : byte[] *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTuple<IEDSCertificate, string>
override DecodeCertificateFromSignature :
encodedSignature : byte[] *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTuple<IEDSCertificate, string>
- encodedSignature Byte
- Подпись.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTupleIEDSCertificate,
StringИзвлечённый сертификат подписи и текст возможной ошибки.
IEDSManagerDecodeCertificateFromSignature(Byte, CancellationToken)