icyleaf / app-info

Teardown parser tool for mac, windows and mobile app (ipa, apk and aab file) and dSYM.zip file, analysis metedata like version, name, icon etc.
MIT License
53 stars 9 forks source link

Parse developer certs in mobile_provision #18

Closed icyleaf closed 4 years ago

icyleaf commented 4 years ago
mobileprovision = AppInfo::MobileProvision.new 'some.mobileprovision'
mobileprovision.developer_certs.each do |cert|
  cert.name                 # => 'Company Name Co., Ltd.,'
  cert.expired_date         # => 2019-07-18 01:20:20 UTC
  cert.raw.class            # OpenSSL::X509::Certificate
end