A parsed PKCS#12 bundle.
:leaf is the first cert in the bundle (the end-entity cert in typical
tax-certificate bundles); :chain is the rest in bundle order. Use
SignCore.X509.spki_sha256/1 if you need the leaf's pinning hash.
:has_private_key is true when the bundle's structure includes a key
bag (whether or not the password was correct enough to decrypt it). The
actual key bytes are never part of this struct.
:friendly_name is nil in v1; PKCS#12 friendlyName extraction lands
with the native parser.
Summary
Types
@type t() :: %Pkcs11ex.PKCS12.Bundle{ chain: [SignCore.X509.t()], friendly_name: String.t() | nil, has_private_key: boolean(), leaf: SignCore.X509.t() }