PKCS #7 signature
File type: Encoded and encrypted file
A file with the .p7a extension contains PKCS #7 signature data used in S/MIME email workflows and can be processed with OpenSSL.
File type category:
Encoded and encrypted file
Date updated: November 19, 2026
PKCS #7 is a syntax for carrying cryptographic message data. S/MIME (Secure/Multipurpose Internet Mail Extensions) provides a consistent way to send and receive secure MIME data. In S/MIME, PKCS #7 supports digital signatures that provide authentication, message integrity, and non-repudiation of origin. S/MIME also supports encryption for privacy.
MIME type: application/x-pkcs7-signature. A signature may be stored with its signed content or separately from it.
PKCS #7 is the basis for the later CMS syntax used in S/MIME. OpenSSL is a cross-platform cryptographic toolkit that can process PKCS #7 data.
Use OpenSSL command-line tools to inspect or verify a compatible p7a file. For verification, use OpenSSL's S/MIME verification command and provide the original signed content if the signature is detached, along with any required certificates. The signature is not normally a readable document.
OpenSSL can re-encode compatible PKCS #7 data between DER and PEM; this changes the encoding, not the signed content. Changing the signed content invalidates its signature.
Software applications that handle other tasks involving p7a files:
Multiplatform