Class SignedFileExtensions
- Namespace
- FatturaElettronica.Extensions
- Assembly
- FatturaElettronica.dll
public static class SignedFileExtensions
- Inheritance
-
SignedFileExtensions
- Inherited Members
-
Methods
ParseSignature(Stream, bool)
public static MemoryStream ParseSignature(Stream stream, bool validateSignature)
Parameters
stream
Stream
validateSignature
bool
Returns
- MemoryStream
ReadXmlSigned(FatturaBase, Stream, bool)
public static void ReadXmlSigned(this FatturaBase fattura, Stream stream, bool validateSignature = true)
Parameters
fattura
FatturaBase
stream
Stream
validateSignature
bool
ReadXmlSigned(FatturaBase, string, bool)
public static void ReadXmlSigned(this FatturaBase fattura, string filePath, bool validateSignature = true)
Parameters
fattura
FatturaBase
filePath
string
validateSignature
bool
ReadXmlSignedBase64(FatturaBase, string, bool)
public static void ReadXmlSignedBase64(this FatturaBase fattura, string filePath, bool validateSignature = true)
Parameters
fattura
FatturaBase
filePath
string
validateSignature
bool
WriteXmlSigned(FatturaBase, X509Certificate2, string)
public static void WriteXmlSigned(this FatturaBase fattura, X509Certificate2 cert, string p7mFilePath)
Parameters
fattura
FatturaBase
cert
X509Certificate2
p7mFilePath
string
WriteXmlSigned(FatturaBase, string, string, string)
public static void WriteXmlSigned(this FatturaBase fattura, string pfxFile, string pfxPassword, string p7mFilePath)
Parameters
fattura
FatturaBase
pfxFile
string
pfxPassword
string
p7mFilePath
string