Versions in this module Expand all Collapse all v0 v0.0.1 Dec 10, 2020 Changes in this version + func GetSelfInstallationTag() (result string, err error) + func SetTagCertTag(signedData *signedData, tag []byte) ([]byte, error) + type Binary interface + GetTag func() (tag []byte, err error) + GetTagCert func() (cert *x509.Certificate, index int, err error) + SetTag func(tag []byte) (contents []byte, err error) + func NewBinary(contents []byte) (Binary, error) + type MSIBinary struct + func NewMSIBinary(fileContents []byte) (*MSIBinary, error) + func (bin *MSIBinary) GetTag() (tag []byte, err error) + func (bin *MSIBinary) GetTagCert() (cert *x509.Certificate, index int, err error) + func (bin *MSIBinary) SetTag(tag []byte) (contents []byte, err error) + type MSIDirEntry struct + Child uint32 + Clsid [16]byte + ColorFlag uint8 + CreateTime uint64 + Left uint32 + ModifyTime uint64 + Name [64]byte + NumNameBytes uint16 + ObjectType uint8 + Right uint32 + StateFlags uint32 + StreamFirstSector uint32 + StreamSize uint64 + type MSIHeader struct + ByteOrder uint16 + Clsid [16]byte + DllVersion uint16 + FirstDifatSector uint32 + FirstDirSector uint32 + FirstMiniFatSector uint32 + Magic [8]byte + MiniSectorShift uint16 + MiniStreamCutoffSize uint32 + MinorVersion uint16 + NumDifatSectors uint32 + NumDirSectors uint32 + NumFatSectors uint32 + NumMiniFatSectors uint32 + Reserved [6]byte + SectorShift uint16 + TransactionSignatureNumber uint32 + type PE32Binary struct + func NewPE32Binary(contents []byte) (*PE32Binary, error) + func (bin *PE32Binary) GetTag() (tag []byte, err error) + func (bin *PE32Binary) GetTagCert() (cert *x509.Certificate, index int, err error) + func (bin *PE32Binary) SetTag(tag []byte) (contents []byte, err error) + type SectorFormat struct + Ints int + Size offT