<?xml version='1.0' encoding='utf-8'?>
<PRONOM-Report xmlns="http://pronom.nationalarchives.gov.uk">
  <report_format_detail>
    <FileFormat>
      <FormatID>1469</FormatID>
      <FormatName>PKCS #7 Cryptographic Message File</FormatName>
      <FormatVersion> </FormatVersion>
      <FormatAliases> </FormatAliases>
      <FormatFamilies> </FormatFamilies>
      <FormatTypes>Text (Structured)</FormatTypes>
      <FormatDisclosure> </FormatDisclosure>
      <FormatDescription>PKCS #7 Cryptographic Message File is a form of electronic signature used to secure messages that can only be read by the intended recipient. PKCS #7 describes a general syntax for data that may have cryptography applied to it, such as digital signatures and digital envelopes. PKCS #7 is one of the family of standards called Public-Key Cryptography Standards (PKCS) devised and published by RSA Security Inc, starting in the early 1990s; storing signed and/or encrypted data, usually attached to an email message that includes an S/MIME (Secure/Multipurpose Internet Mail Extensions) digital signature. The extension .p7s usually refers to PKCS #7 Signature Files; .p7m usually refers to PKCS #7 MIME Files; and .p7b usually refers to PKCS #7 Certificate Files. The research of this format is still ongoing, please contact the PRONOM team if you how any more information regarding this format.</FormatDescription>
      <BinaryFileFormat> </BinaryFileFormat>
      <ByteOrders> </ByteOrders>
      <ReleaseDate> </ReleaseDate>
      <WithdrawnDate> </WithdrawnDate>
      <ProvenanceSourceID>1</ProvenanceSourceID>
      <ProvenanceName>Digital Preservation Department / The National Archives</ProvenanceName>
      <ProvenanceSourceDate>23 Sep 2014</ProvenanceSourceDate>
      <ProvenanceDescription>11/2023 (v.116)- Priority over fmt/101 added. Internally researched.</ProvenanceDescription>
      <LastUpdatedDate>16 Nov 2023</LastUpdatedDate>
      <FileFormatIdentifier>
        <Identifier>application/pkcs7-mime</Identifier>
        <IdentifierType>MIME</IdentifierType>
      </FileFormatIdentifier>
      <FileFormatIdentifier>
        <Identifier>application/pkcs7-signature</Identifier>
        <IdentifierType>MIME</IdentifierType>
      </FileFormatIdentifier>
      <FileFormatIdentifier>
        <Identifier>fmt/670</Identifier>
        <IdentifierType>PUID</IdentifierType>
      </FileFormatIdentifier>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>p7m</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>p7b</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>p7s</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <InternalSignature>
        <SignatureID>1003</SignatureID>
        <SignatureName>PKCS #7 Cryptographic Message File</SignatureName>
        <SignatureNote>The signature is seeking the first byte of 0x30, then the presence of the OID (Object Identifier) 1 2 840 113549 1 7 in ASN.1 (Abstract Syntax Notation) using BER (Basic encoding rules) encoding.</SignatureNote>
        <ByteSequence>
          <ByteSequenceID>1</ByteSequenceID>
          <PositionType>Absolute from BOF</PositionType>
          <Offset>0</Offset>
          <MaxOffset>0</MaxOffset>
          <IndirectOffsetLocation> </IndirectOffsetLocation>
          <IndirectOffsetLength> </IndirectOffsetLength>
          <Endianness> </Endianness>
          <ByteSequenceValue>30{1-5}06092A864886F7</ByteSequenceValue>
        </ByteSequence>
      </InternalSignature>
      <RelatedFormat>
        <RelationshipType>Has lower priority than</RelationshipType>
        <RelatedFormatID>2061</RelatedFormatID>
        <RelatedFormatName>ZFO (Message) File</RelatedFormatName>
        <RelatedFormatVersion> </RelatedFormatVersion>
      </RelatedFormat>
      <RelatedFormat>
        <RelationshipType>Has lower priority than</RelationshipType>
        <RelatedFormatID>2062</RelatedFormatID>
        <RelatedFormatName>ZFO (Sent Message) File</RelatedFormatName>
        <RelatedFormatVersion> </RelatedFormatVersion>
      </RelatedFormat>
      <RelatedFormat>
        <RelationshipType>Has lower priority than</RelationshipType>
        <RelatedFormatID>2063</RelatedFormatID>
        <RelatedFormatName>ZFO (Proof of Delivery) File</RelatedFormatName>
        <RelatedFormatVersion> </RelatedFormatVersion>
      </RelatedFormat>
      <RelatedFormat>
        <RelationshipType>Has priority over</RelationshipType>
        <RelatedFormatID>638</RelatedFormatID>
        <RelatedFormatName>Extensible Markup Language</RelatedFormatName>
        <RelatedFormatVersion> </RelatedFormatVersion>
      </RelatedFormat>
    </FileFormat>
  </report_format_detail>
</PRONOM-Report>