Versions in this module Expand all Collapse all v0 v0.5.1 Mar 9, 2024 v0.5.0 Mar 9, 2024 Changes in this version + func ShowJSON(path string, writer io.Writer) error + func ShowText(path string, writer io.Writer, hideVerboseData bool) error + type Algorithm struct + AlgorithmOID string + Base64Parameters string + type AlgorithmWithValue struct + Base64 string + func (av AlgorithmWithValue) String() string + type Attribute struct + Base64 string + OID string + func (a Attribute) String() string + type BlobDetails struct + Base64 string + Digest Digest + type CMSValidationDetails struct + ErrorMessage string + IsValid bool + VerifiedCertificates [][][]*x509.Certificate + type Certificate struct + PEM string + Parsed *x509.Certificate + func (c Certificate) String() string + type CodeDirectoryDetails struct + Blob BlobDetails + DeclaredDigest SectionDigest + Flags DescribedValue + ID string + PageDigests []SectionDigest + Platform uint8 + SpecialDigests []SectionDigest + TeamID string + Version DescribedValue + func (c CodeDirectoryDetails) String(hideVerboseData bool) string + type DescribedValue struct + Description string + Value interface{} + type Details struct + File MachoDetails + SuperBlob *SuperBlobDetails + func ParseDetails(m File) Details + func (d Details) String(hideVerboseData bool) (r string) + type Digest struct + Algorithm string + Value string + type EntitlementDetails struct + Blob BlobDetails + Entitlements string + EntitlementsDER []byte + func (e EntitlementDetails) String() string + type File struct + func NewFile(binPath string) ([]*File, error) + type MachoDetails struct + CPU string + Flags []string + Libs []string + LoadCommandCount uint32 + LoadCommandSize uint32 + Magic string + SubCPU string + Type string + UUID string + func (m MachoDetails) String() (r string) + type RequirementDetails struct + Blob BlobDetails + Requirements []types.Requirement + func (r RequirementDetails) String() string + type SectionDigest struct + Index int64 + Offset uint64 + func (d SectionDigest) String() string + type SignatureDetails struct + Base64 string + Blob BlobDetails + CMSValidation CMSValidationDetails + Certificates []Certificate + Signers []Signer + func (s SignatureDetails) String() string + type Signer struct + DigestAlgorithm Algorithm + ID string + Signature AlgorithmWithValue + SignedAttributes []Attribute + func (s Signer) String() string + type SuperBlobDetails struct + CodeDirectories []CodeDirectoryDetails + Entitlements *EntitlementDetails + Offset uint32 + Requirements []RequirementDetails + Signatures []SignatureDetails + Size uint32