Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifySMIMEWithOpenSSL ¶
Function to verify the S/MIME signature using OpenSSL TBD: Remove dependency on external program
Types ¶
type DatiCert ¶
type DatiCert struct {
XMLName xml.Name `xml:"postacert"`
Tipo string `xml:"tipo,attr"`
Errore string `xml:"errore,attr"`
Intestazione struct {
Mittente string `xml:"mittente"`
Destinatari struct {
Tipo string `xml:"tipo,attr"`
Val string `xml:",chardata"`
} `xml:"destinatari"`
Risposte string `xml:"risposte"`
Oggetto string `xml:"oggetto"`
} `xml:"intestazione"`
Dati struct {
GestoreEmittente string `xml:"gestore-emittente"`
Data struct {
Zona string `xml:"zona,attr"`
Giorno string `xml:"giorno"`
Ora string `xml:"ora"`
} `xml:"data"`
Identificativo string `xml:"identificativo"`
MsgID string `xml:"msgid"`
ErroreEsteso string `xml:"errore-esteso,omitempty"`
} `xml:"dati"`
}
Define the structure of the DatiCert XML
Click to show internal directories.
Click to hide internal directories.