Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CipherData ¶
type CipherData struct { CipherReference CipherReference `xml:"http://www.w3.org/2001/04/xmlenc# CipherReference"` Value []byte `xml:"Value,omitempty"` }
type CipherReference ¶
type CipherReference struct {
URI URI `xml:"URI,attr"`
}
type Compression ¶
type Data ¶
type Data struct { Properties *EncryptionProperties `xml:"http://www.w3.org/2001/04/xmlenc# EncryptionProperties,omitempty"` // contains filtered or unexported fields }
type EncryptionProperties ¶
type EncryptionProperties struct {
Properties []EncryptionProperty `xml:"http://www.w3.org/2001/04/xmlenc# EncryptionProperty"`
}
type EncryptionProperty ¶
type EncryptionProperty struct {
Compression Compression `xml:"http://www.idpf.org/2016/encryption#compression Compression"`
}
type Key ¶
type Key struct { References ReferenceList CarriedKeyName string Recipient string // contains filtered or unexported fields }
type KeyInfo ¶
type KeyInfo struct { KeyName string `xml:"KeyName,attr,omitempty"` //KeyValue RetrievalMethod RetrievalMethod `xml:"http://www.w3.org/2000/09/xmldsig# RetrievalMethod"` }
type Manifest ¶
type Manifest struct { //Keys []Key Data []Data `xml:"http://www.w3.org/2001/04/xmlenc# EncryptedData"` XMLName struct{} `xml:"urn:oasis:names:tc:opendocument:xmlns:container encryption"` }
func (Manifest) DataForFile ¶
DataForFile returns the EncryptedData item corresponding to a given path
type ReferenceList ¶
type RetrievalMethod ¶
Click to show internal directories.
Click to hide internal directories.