title: How to validate PFX with public-key privacy/integrity mode
body: <p>I have a piece of embedded software generating P12/PFX formatted output data.
  <br>
  The PFX is <strong>not</strong> password protected, that means instead of using a password-derived encryption/mac key the data is encrypted with a public key and signed with my private key.
  <br>
  In <a href="https://www.rfc-editor.org/rfc/rfc7292#section-3.1" rel="nofollow noreferrer">RFC7292 section 3.1</a> this is called public-key privacy and integrity modes.</p>
  <p>My question is, how can I validate the PFX I receive, e.g. using <code>openssl</code>? (I'm not restricted to use openssl, by the way I google'd around but could not find a way...)</p>
  <p>I tried</p>
  <pre><code>openssl pkcs12 -info -in test.pfx
  </code></pre>
  <p>but openssl requests a password, which is not applicable here. Did I miss any option to not being asked for a password?</p>