- 3.0.11.0 2026-09-03 Nuevas sobrecargas en ObtieneFirmantesPDFFirmado

This commit is contained in:
2026-09-04 11:05:48 +02:00
parent c0298979cc
commit fe8a600155
2 changed files with 16 additions and 6 deletions

View File

@@ -56,7 +56,16 @@ Public Class Firmas
signer.SignExternalContainer(external, 8192)
End Sub
Public Shared Function ObtieneFirmantesPDFFirmado(FicheroPdf As Byte(), SoloCertId As Boolean) As List(Of String)
Dim spdf = New MemoryStream(FicheroPdf)
Return ObtieneFirmantesPDFFirmado(spdf, SoloCertId)
End Function
Public Shared Function ObtieneFirmantesPDFFirmado(FicheroPdf As String, SoloCertId As Boolean) As List(Of String)
Dim spdf = New MemoryStream(System.IO.File.ReadAllBytes(FicheroPdf))
Return ObtieneFirmantesPDFFirmado(spdf, SoloCertId)
End Function
Public Shared Function ObtieneFirmantesPDFFirmado(FicheroPdf As Stream, SoloCertId As Boolean) As List(Of String)
Try
Dim pdfReader As New PdfReader(FicheroPdf)
Dim pdfDoc As New PdfDocument(pdfReader)