Aspose::Pdf::Facades::PdfFileSignature::TryExtractCertificate метод
Содержание
[
Скрывать
]PdfFileSignature::TryExtractCertificate(const System::SharedPtr<SignatureName>&, System::SharedPtr<System::IO::Stream>&) method
Извлекает единственный сертификат X.509 подписи в виде потока.
bool Aspose::Pdf::Facades::PdfFileSignature::TryExtractCertificate(const System::SharedPtr<SignatureName> &signName, System::SharedPtr<System::IO::Stream> &stream)
| Параметр | Тип | Описание |
|---|---|---|
| signName | const System::SharedPtr<SignatureName>& | Имя подписи. |
| поток | System::SharedPtr<System::IO::Stream>& | Если сертификат найден, возвращает поток единственного сертификата X.509; в противном случае — null. |
ReturnValue
Найден действительный сертификат.
См. также
- Typedef SharedPtr
- Class SignatureName
- Class Stream
- Class PdfFileSignature
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileSignature::TryExtractCertificate(const System::SharedPtr<SignatureName>&, System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate2>&) method
Извлекает единственный сертификат X.509 подписи.
bool Aspose::Pdf::Facades::PdfFileSignature::TryExtractCertificate(const System::SharedPtr<SignatureName> &signName, System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate2> &certificate)
| Параметр | Тип | Описание |
|---|---|---|
| signName | const System::SharedPtr<SignatureName>& | Имя подписи. |
| сертификат | System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate2>& | Если сертификат найден, возвращает объект единственного сертификата X.509; в противном случае — null. |
ReturnValue
Найден действительный сертификат.
См. также
- Typedef SharedPtr
- Class SignatureName
- Class X509Certificate2
- Class PdfFileSignature
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++