Aspose::Pdf::Facades::PdfFileSignature::TryExtractCertificate metod
Innehåll
[
Dölj
]PdfFileSignature::TryExtractCertificate(const System::SharedPtr<SignatureName>&, System::SharedPtr<System::IO::Stream>&) method
Extraherar signaturens enda X.509‑certifikat som en ström.
bool Aspose::Pdf::Facades::PdfFileSignature::TryExtractCertificate(const System::SharedPtr<SignatureName> &signName, System::SharedPtr<System::IO::Stream> &stream)
| Parameter | Typ | Beskrivning |
|---|---|---|
| signName | const System::SharedPtr<SignatureName>& | Namnet på signaturen. |
| ström | System::SharedPtr<System::IO::Stream>& | Om ett certifikat hittades returneras X.509‑certifikatström; annars null. |
ReturnValue
Ett riktigt certifikat hittades.
Se även
- 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
Extraherar signaturens enda X.509‑certifikat.
bool Aspose::Pdf::Facades::PdfFileSignature::TryExtractCertificate(const System::SharedPtr<SignatureName> &signName, System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate2> &certificate)
| Parameter | Typ | Beskrivning |
|---|---|---|
| signName | const System::SharedPtr<SignatureName>& | Namnet på signaturen. |
| certificate | System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate2>& | Om ett certifikat hittades returneras X.509‑certifikatobjekt; annars null. |
ReturnValue
Ett riktigt certifikat hittades.
Se även
- Typedef SharedPtr
- Class SignatureName
- Class X509Certificate2
- Class PdfFileSignature
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++