Versions in this module Expand all Collapse all v1 v1.1.193 Mar 14, 2024 Changes in this version + func Sign(r io.Reader, config *Config) ([]byte, error) + type CodeSignature struct + CMSSignature []byte + CodeDirectories []types.CodeDirectory + Entitlements string + EntitlementsDER []byte + Errors []error + LaunchConstraintsParent []byte + LaunchConstraintsResponsible []byte + LaunchConstraintsSelf []byte + LibraryConstraints []byte + Requirements []types.Requirement + func ParseCodeSignature(cmddat []byte) (*CodeSignature, error) + func (cs *CodeSignature) MarshalJSON() ([]byte, error) + type Config struct + CertChain []*x509.Certificate + CodeSize uint64 + Entitlements []byte + EntitlementsDER []byte + Flags types.CDFlag + ID string + InfoPlist []byte + IsMain bool + NSpecialSlots uint32 + ResourceDirSlotHash []byte + SignerFunction func([]byte) ([]byte, error) + SlotHashes slotHashes + SpecialSlots []types.SpecialSlot + TeamID string + TextOffset uint64 + TextSize uint64 + func (c *Config) InitSlotHashes()