Set up test data.

  $ base64 --decode > example.p12 <<EOF
  > MIIJyAIBAzCCCY4GCSqGSIb3DQEHAaCCCX8Eggl7MIIJdzCCA/8GCSqGSIb3DQEH
  > BqCCA/AwggPsAgEAMIID5QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIGvLr
  > SQVuxIECAggAgIIDuBNLVqdufUZZImtcwRk7RrGEdAuS3SwQCRKDTFZ024JRNZiB
  > iADYZ+hVah546ld9FiPzgVtq1y7tGcpXgRHRhQ5WfuuSTqXRgpm9/WZTVEcnfkta
  > 1Cn8dPEFiFBgDsiGzGoFgEUwtL/XHeX1b4idY9sxZOM2bHt+sn7TvgCdkZtZ1S2Q
  > RIQCe/hC0e9uRIIZ/BSzre1Rxkg0m8lB7C46NdtkSDkcp41BcoTnr3B+ydtzpIO7
  > uBniCqhjKoV6VXG/01ABrSy7iHWEniQurdN4bK2VwCUptswT5uIGv9zTgDZg/CK3
  > eUVut3gwgCaVjJtlhT70+NZJZWbE6zS1d908V+AxvAKIdFa7MSkMfojaARJSZLgi
  > aSBGYMXajL3IkRfxl6bOQKzygLKr7ev5abgC3vi1jDc+mmWPgafidCx9/LyAvpc2
  > 7mtWGrD5smz5rAmlKKTeD2UaoCDjyVuOgASEb4ezmIZOitijDxCq/EeUiGgqlqMw
  > +pORP4Q48NO8ZbQkIn0cplQpv2aZM1kR89d453hI4W58Zo+rpeE+HOapfqB1J8Bj
  > x/sAKp8kUUN27AzbgF7kBI9IKJ3l3h6ou3t6VhGvNlVTJ8kgDcwJJedg/EQJUA8N
  > G7jK9uJiVPCcwC3TG6HIFVda9jAUaYJzCAELM08edrPDDc7olhlOqmtqUdhqLbct
  > kdecUqzvt60bCzq1FGTmsrYqER8uTOMxQ4/8FGdKBVYVYDhzQ28ecUiZj0Vg/g4N
  > bEOMX61zWO8Wpd5tYuqD6KyGa8f9paH0xK4NnJrKSVuB6KbeqLhc5IpoZkM0KxpW
  > 2/vKLc/sioO7eLhMFUKpvy0OYydG4I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Y++7m8ZSa8136iAMd7ff6/NboTEsqM
  > bLpNdwOZpSLhhGGRpcA6ZEfFe/lpIegu7x0d9/5cyHPdh89pHdcuTrORlpKixkYw
  > DTTDcnjk/hJoebq4X5193+aRRDFUMCMGCSqGSIb3DQEJFTEWBBS6lbQl1DnNaQP5
  > 0ALHsLkdlN86PzAtBgkqhkiG9w0BCRQxIB4eAGUAeABhAG0AcABsAGUALQBlAHgA
  > cABpAHIAZQBkMDEwITAJBgUrDgMCGgUABBQ7CK8HCugti312Hy5rwDggI0Uy8wQI
  > 80XXrt5bwvUCAggA
  > EOF

Dump PEM blocks from a PKCS12 keystore.

  $ certigo dump --pem --password password example.p12
  -----BEGIN CERTIFICATE-----
  MIIDLDCCAhQCCQCa74bQsAj2/jANBgkqhkiG9w0BAQsFADBYMQswCQYDVQQGEwJV
  UzELMAkGA1UECBMCQ0ExEDAOBgNVBAoTB2NlcnRpZ28xEDAOBgNVBAsTB2V4YW1w
  bGUxGDAWBgNVBAMTD2V4YW1wbGUtZXhwaXJlZDAeFw0xNjA2MTAyMjE0MTJaFw0x
  NjA2MTEyMjE0MTJaMFgxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEQMA4GA1UE
  ChMHY2VydGlnbzEQMA4GA1UECxMHZXhhbXBsZTEYMBYGA1UEAxMPZXhhbXBsZS1l
  eHBpcmVkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs6JY7Hm/NAsH
  3nuMOOSBno6WmwsTYEw3hk4eyprWiI/NpoiaiZVCGahT8NAKqLDW5t9vgKz6c4ff
  i5/aQ2scichq3QS7pELAYlS4b+ey3dA6hj62MOTTO4Ad5bFbbRZG+Mdm2Ayvl6eV
  6catQhMvxt7aIoY9+bodyIYC1zZVqwQ5sOT+CPLDnxK+GvhoyD2jL/XwZplWiIVL
  oX6eEpKIo/QtB6mSU216F/PuAzl/BJond+RzF9mcxJjdZYZlhwT8+o8oXEMI4vEf
  3yzd+zB/mjuxDJR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