Browse by Tags

Related Posts
  • Blog Post: PKCS7 (p7b) bag of certificates and powershell

    Recently I was asked how to extract the certificates within a PKCS7 (p7b) files using powershell. After a little research the following seems to work fine: [reflection.assembly]::LoadWithPartialName("System.Security") $data = [System.IO.File]::ReadAllBytes("certificates.p7b") $cms = new-object system...