What is ASN.1 (Abstract Syntax Notation One)?

ASN.1 is a formal notation, defined by the ITU-T and ISO/IEC, for describing the structure of data that protocols exchange. In post-quantum work it defines the certificate and key formats that carry larger keys and signatures.

On this page

What is ASN.1, and why does it matter for post-quantum certificates?

If you have met ASN.1 (Abstract Syntax Notation One) in a specification, a vendor answer or a tender, it is a formal notation, defined by the ITU-T as X.680 (corresponding to ISO/IEC 8824-1:2021), for describing data sent by telecommunications protocols independently of programming language and physical representation. It is the notation used to define X.509 certificates and the post-quantum key and signature formats in RFC 9881 (ML-DSA), RFC 9909 (SLH-DSA), RFC 9935 (ML-KEM) and RFC 10073 (composite ML-DSA). The ITU-T describes it as defining abstract data types such as integers, strings, structures, lists and choices, and states that it is not a programming language.

ASN.1 on its own does not put any bytes on the wire. The encoding rules turn its definitions into bytes. The rule that matters most for certificates is DER (Distinguished Encoding Rules), specified in ITU-T X.690 alongside BER and CER, because a certificate signature is computed over the DER-encoded tbsCertificate as RFC 5280 requires. When a specification says a field is a SEQUENCE or a CHOICE, it is describing structure. When it says the encoding is DER, it is describing the exact bytes a verifier will hash and check, and that difference is what you should confirm in a vendor's parser or issuance tooling.

For post-quantum work, the practical checks are narrow. Look for the ASN.1 module in the relevant RFC and confirm the OIDs your product emits, for example 2.16.840.1.101.3.4.3.17 for ML-DSA-44 under RFC 9881. Confirm that algorithm parameters are absent where the RFC says so, and that parsers identify private key variants by ASN.1 tag rather than by length, as RFC 9881 and RFC 9935 require. Ask vendors which encoding rules and RFC revisions their certificate and key tooling implements, and whether it has been tested against the RFCs above. The sources listed on this page do not state how any particular product behaves, so treat those answers as things to verify in your own environment.

Which ASN.1 names, specifications and encoding rules appear in post-quantum documents?

This table lists the ASN.1 specifications, encoding rules and module identifiers that appear in post-quantum certificate and key documents, with the name and role of each. Use it to match an abbreviation in a vendor answer or RFC to the specification that defines it, and to see which parts govern syntax and which govern how values are encoded as bytes.

NameFull name or roleSpecificationWhere it appears in post-quantum documents
ASN.1Abstract Syntax Notation One, a notation for describing data independent of programming languageITU-T X.680 (02/21), equivalent to ISO/IEC 8824-1:2021Defines the module syntax used in RFC 5280, RFC 9881, RFC 9909, RFC 9935 and RFC 10073
X.680 (08/15)Earlier edition of the basic notation specificationITU-T X.680 (08/15)Superseded by the 02/21 edition, which is the one in force
BERBasic Encoding RulesITU-T X.690 (02/21), also ISO 8825-1General encoding family; the parent rules from which DER is restricted
CERCanonical Encoding RulesITU-T X.690 (02/21)A BER variant with a fixed canonical form; confirm before relying on it for signed structures
DERDistinguished Encoding RulesITU-T X.690 (02/21)Used for X.509 certificates, where RFC 5280 says the signature is computed over the DER-encoded tbsCertificate
PERPacked Encoding RulesITU-T X.691Compact binary encoding; check the RFC before assuming it is used for a given certificate or key format
XERXML Encoding RulesITU-T X.693Encodes ASN.1 values as XML; rarely seen in X.509 certificate or key documents
OEROctet Encoding RulesITU-T X.696Octet-aligned encoding; check the relevant RFC to confirm whether it applies to a given structure
ECNASN.1 encoding control notationITU-T X.692A notation for defining encoding rules, not a rule set itself
id-mod-composite-mldsa-2025ASN.1 module identifier for the composite ML-DSA module, decimal 127RFC 10073, registered in the IANA SMI Security for PKIX Module Identifier registryIdentifies the module that defines composite ML-DSA keys and signatures in X.509

Where practitioners meet ASN.1 in post-quantum certificates and keys

Post-quantum certificates and keys are defined as ASN.1 modules inside IETF documents, so the same notation shows up each time a new algorithm is added to X.509. The cards below list the documents where those modules appear, what each one defines, and what to confirm when a vendor or tender cites them.

X.509 certificate and CRL profile

RFC 5280 profiles the X.509 v3 certificate and v2 CRL for Internet use and provides its ASN.1 modules in the appendices. The profile is written in the 1988 ASN.1 syntax, and the document states that the encoded certificate and standard extensions are equivalent to the 1997 syntax. Post-quantum algorithm documents build on these structures, so the base module is the first thing to check when reading a certificate or CRL. Confirm which syntax version your parser implements.

RFC 5280 text

ML-DSA certificates

RFC 9881 defines how ML-DSA from FIPS 204 is used in X.509 certificates and CRLs, and its Appendix A contains the ASN.1 module. The AlgorithmIdentifier is a SEQUENCE holding only the OID, because the parameters component must be absent. Parsers should also identify the ML-DSA private key variant by its tag rather than its length. Check that your certificate tooling enforces both rules.

RFC 9881 text

SLH-DSA identifiers

RFC 9909 defines the object identifiers and encoding conventions for SLH-DSA signatures, public keys and private keys in X.509. Its identifiers sit in the NIST sigAlgs arc, and the parameters component of each algorithm identifier must be absent. The document covers both pure SLH-DSA and HashSLH-DSA variants, so confirm which variant an OID names before comparing certificates. Signature sizes are much larger than ML-DSA, which affects certificate and CRL storage.

RFC 9909 text

ML-KEM identifiers

RFC 9935 defines the X.509 algorithm identifiers for ML-KEM and the ASN.1 structure of ML-KEM private keys. The private key is a CHOICE of a seed, an expanded key, or both, and parsers should identify which one is present by its ASN.1 tag. Because ML-KEM is a key encapsulation mechanism, its identifiers appear in certificates for key establishment rather than signing. Confirm the ML-KEM variant your systems use before matching OIDs.

RFC 9935 text

Composite ML-DSA encoding

RFC 10073 defines an ASN.1 module for composite ML-DSA, registered as id-mod-composite-mldsa-2025 in the IANA PKIX module identifier registry. Composite public keys, private keys and signatures are encoded as plain byte concatenations, with no extra ASN.1 wrapping inside the composite value. A parser that expects nested SEQUENCEs will fail on these values. Check which composite structure a certificate uses before reading its fields.

RFC 10073 text

Vendor and tender citations

Vendor answers and tender documents often cite these RFC modules by number when describing PKI support. A citation shows which module a product claims to implement, but it does not show that the implementation is complete or tested against the same syntax version. Ask the vendor which RFC sections and ASN.1 modules their certificate and key handling follows, and which versions of those documents they tested. Keep the answers with your PKI inventory.

How does ASN.1 shape certificate and key structures in practice?

In practice, ASN.1 determines how a post-quantum certificate is laid out on the wire and on disk, so reviewers reading a certificate or key file are reading ASN.1 structures. Under RFC 5280, a Certificate is a SEQUENCE of three parts: the tbsCertificate (the to-be-signed content), the signatureAlgorithm, and the signatureValue, which is a BIT STRING. The signature is computed over the DER-encoded tbsCertificate, so the encoding rules in ITU-T X.690 affect whether a signature verifies. A parser that re-encodes the tbsCertificate with different rules will get different bytes and a failed check. Teams inventorying PKI should confirm that their certificate tooling preserves the original DER bytes of the tbsCertificate rather than re-serializing it.

The post-quantum algorithm identifiers follow the same pattern but with stricter rules. RFC 9881 requires the ML-DSA AlgorithmIdentifier to be a SEQUENCE holding only the OID, because the parameters component MUST be absent, and RFC 9909 imposes the same absence rule on SLH-DSA identifiers. Private keys are more varied: RFC 9881 defines the ML-DSA private key in OneAsymmetricKey as a CHOICE of seed (tag [0], RECOMMENDED), expandedKey, or both as a SEQUENCE, and RFC 9935 does the same for ML-KEM. Parsers are told to identify the variant by tag (0x80, 0x04 or 0x30) rather than by length, so a key parser that dispatches on length can misread a valid key. When assessing a key-handling product, ask the vendor which variants its parser accepts and whether it has been tested against the tagged forms.

Composite structures are the exception to this nesting. RFC 10073 encodes composite public keys, private keys and signatures as plain byte concatenations with no extra ASN.1 wrapping inside the composite value, so the component boundaries are fixed by the algorithm definitions rather than by ASN.1 tags. Reviewers should confirm that a composite certificate's parser splits the concatenated bytes according to the component sizes in the relevant RFC, and that it does not expect nested SEQUENCEs that the specification does not define. Mismatches here tend to surface as parse failures during interoperability testing rather than as clear error messages, so include composite certificates in the test plan.

What is the standardization status of ASN.1 and its post-quantum profiles?

ASN.1 itself is stable. ITU-T X.680 (02/21), which specifies the basic notation, is in force and corresponds to ISO/IEC 8824-1:2021. ITU-T X.690 (02/21), which specifies the Basic, Canonical and Distinguished Encoding Rules, is also in force. The 08/15 edition of X.680 has been superseded, so a vendor or specification that cites it should be checked against the current edition. The post-quantum work sits on top of this base: it defines how ML-DSA, SLH-DSA, ML-KEM and composite structures are placed into X.509 certificates and keys using ASN.1 object identifiers and module definitions.

The post-quantum profiles covered by the sources listed on this page are all IETF documents. RFC 9881 (ML-DSA in X.509, Proposed Standard, October 2025) and RFC 9909 (SLH-DSA in X.509, Proposed Standard, December 2025) define signature algorithm identifiers. RFC 9935 (ML-KEM in X.509, Proposed Standard, March 2026) does the same for key encapsulation. RFC 10073 (composite ML-DSA for X.509, Proposed Standard, November 2026) defines a composite signature structure. RFC 9794 (June 2025, Informational) defines the terminology for PQ/T hybrid certificates and is not a Proposed Standard. Teams planning a migration should check each RFC's status and the version of each identifier their products implement before relying on it.

These RFCs are IETF documents. They are not national requirements, and nothing in them obliges a particular organization or system to adopt them. The sources listed on this page do not say which systems must adopt these profiles, or by when. To determine whether a given system is affected, confirm the requirement with the relevant regulator, customer or contract, and check how the vendors of your certificate authorities, HSMs and TLS stacks have implemented these identifiers.

What should you check in an inventory or vendor answer about ASN.1 formats?

This sequence turns the ASN.1 profiles in your estate into a checked list of which certificate, key and signature formats each system uses, and which of them your vendor can actually parse and identify. It ends with evidence that certificates chain correctly before any rollout.

  1. Find every certificate, CSR and key file

    Collect every certificate, certificate signing request and private key file your systems use, including those held in appliances, load balancers, HSMs and vendor-managed services. Your PKI or platform team does this, using exports from certificate stores and configuration scans where available. The step is done when each file is listed with its location and owner, and you have noted any that you cannot export and will need the vendor to describe.

  2. Identify the ASN.1 profile of each file

    For each file, record its profile: a plain X.509 v3 certificate, an ML-DSA certificate, an SLH-DSA certificate, an ML-KEM key, or a composite structure. RFC 5280 defines the base X.509 profile, while RFC 9881, RFC 9909, RFC 9935 and RFC 10073 define the post-quantum identifiers and key encodings. The profile is identified by reading the algorithm OID in the file, which can be checked with standard ASN.1 tools. The step is done when every file has a recorded profile and any unrecognized OID is flagged for follow-up.

  3. Check parser support for larger key and signature sizes

    Ask the vendor to confirm that its parser accepts the key and signature sizes in RFC 9881 Table 2 for ML-DSA and in RFC 9909 Table 1 for SLH-DSA. These sizes are much larger than classical values, so parsers with fixed length limits can fail. Ask for test results or a specific version statement, not a general assurance. The step is done when the vendor answers in writing for each algorithm family you use.

  4. Confirm private key variants are identified by tag

    RFC 9881 and RFC 9935 require parsers to identify private key variants by ASN.1 tag, not by length. For ML-DSA, the variants are a seed, an expanded key or both; for ML-KEM, a 64-octet seed, an expanded key or both. Ask the vendor whether its software reads the tag to tell these apart. A parser that relies on length can misread a valid key. The step is done when the vendor confirms tag-based identification in writing, or a gap is recorded for remediation.

  5. Ask which RFC or module version is implemented

    Ask the vendor which RFC or module version each product implements, for example RFC 9881 or an earlier draft, and which release of the product carries it. Versions differ in encoding details, so a product can support one profile and not another. Record the answer per product and per release. The step is done when each vendor has named the specific RFC or module version and release, and you have confirmed it against the RFC text yourself.

  6. Confirm certificates chain correctly in a test environment

    Before rollout, issue or import test certificates in the new formats in a non-production environment and confirm that each one chains to its issuing authority and validates end to end. Include the systems that consume the certificates, not only the issuing CA. This tests whether the parsers, the trust stores and the signature checks agree with each other. The step is done when chain validation passes for every profile in the inventory and any failures are logged with their cause.

Which mix-ups happen between ASN.1, its encoding rules and certificate names?

Four pairs of terms cause most confusion when people read certificate specifications: the notation, the encoding rules that turn it into bytes, the profile built on it, and the numeric identifiers that name modules and algorithms. Each card separates one of these from its neighbor so you can check which one a document or vendor answer actually means.

ASN.1 versus DER

ASN.1 is the notation that describes a data structure, such as a certificate or a key container. DER, the Distinguished Encoding Rules, is one of several sets of rules that turn that description into bytes. ITU-T X.690 (02/21) covers BER, CER and DER together, and DER is the form certificate signatures are computed over. When a specification says a structure is DER-encoded, it is describing the byte form, not the notation itself. Check which of the two a vendor or standard refers to before comparing sizes or test vectors, because the same structure can encode to different lengths under different rules.

X.690 record

ASN.1 versus X.509

ASN.1 defines the syntax used to write a certificate. X.509 is the certificate format that uses that syntax, and RFC 5280 is the Internet profile that constrains how X.509 certificates and CRLs are used. RFC 5280 writes its profile in the 1988 ASN.1 syntax and states that the encoded certificate and standard extensions are equivalent to the 1997 syntax. A post-quantum algorithm is added by defining its algorithm identifier and key structure in ASN.1, as RFC 9881 does for ML-DSA. If a review asks whether a product supports X.509, the answer concerns the profile and its extensions, not the notation.

RFC 5280

X.680 editions and their status

X.680 (02/21) is the edition in force. It corresponds to ISO/IEC 8824-1:2021 and supersedes earlier editions such as X.680 (08/15). X.680 is one part of the X.680 to X.693 set, which also contains the encoding rules, so citing X.680 alone does not tell you how a structure is encoded. When a document cites an older edition, confirm that the module it relies on still parses under the current notation. Tender language and audit requests often name a specific edition, so record the exact edition and date in your inventory rather than writing only the family name.

X.680 record

Module identifiers are not algorithm OIDs

A module identifier names an ASN.1 module, such as the module RFC 10073 registered as id-mod-composite-mldsa-2025 with the decimal value 127 in the IANA SMI Security for PKIX Module Identifier registry. An algorithm OID names an algorithm, such as ML-DSA-65 at 2.16.840.1.101.3.4.3.18. These are separate registries with separate numbers, and a module number of 127 says nothing about which algorithm a certificate uses. When you log or match identifiers in a scan or configuration review, label each one by its registry so a module value is never read as an algorithm.

RFC 10073

What do people search about ASN.1 and post-quantum certificates?

What does ASN.1 stand for?

ASN.1 stands for Abstract Syntax Notation One. Per the ITU-T, it is a formal notation for describing data sent by telecommunications protocols, and it is independent of programming language and physical representation. It defines abstract data types such as integers, strings, structures, lists and choices. The ITU-T says it is not a programming language. It was originally standardized for OSI environments and is now used in many other fields wherever data must be communicated digitally. For post-quantum work, the practical point is that certificate and key formats are written in ASN.1 and then encoded to bytes, so reading a spec means reading ASN.1 modules.

Is ASN.1 the same as DER or X.509?

No. ASN.1 is the notation used to describe a data structure. DER (Distinguished Encoding Rules) is one of several encoding rules that turn ASN.1 values into bytes. The ITU-T lists the rules as BER, CER and DER in X.690, PER in X.691, XER in X.693 and OER in X.696. X.509 is a certificate format that is written in ASN.1 and, in signed certificates, is encoded with DER. RFC 5280 provides the ASN.1 modules for the certificate profile. So ASN.1 describes the structure, DER is one way to encode it, and X.509 is one structure built on it.

Is ASN.1 a standard, and which document defines it?

Yes. ASN.1 is defined by ITU-T X.680, titled "Specification of basic notation." The edition in force is X.680 (02/21), which corresponds to ISO/IEC 8824-1:2021 and supersedes editions such as X.680 (08/15). X.680 is one part of the X.680 to X.693 set, which also covers encoding rules. The encoding rules BER, CER and DER are specified in ITU-T X.690 (02/21), which is also in force and corresponds to ISO 8825-1. When a spec cites a standard, check the edition number, since the sources list older editions as superseded.

Do my products use ASN.1, and how do I find out?

Most PKI products that issue, store or parse X.509 certificates and keys use ASN.1 structures internally, because the certificate profile is defined in ASN.1. Whether a given product implements the post-quantum modules is a separate question. Ask the vendor which ASN.1 modules they implement, for example which RFC-defined identifiers for ML-DSA, SLH-DSA, ML-KEM or composite signatures they support, and at which version. Ask whether their parsers handle the key variants in those modules. Ask for the version and edition in writing. Do not assume support from a product name or from a general claim of post-quantum readiness.

What changes for my systems if post-quantum certificates use ASN.1?

The main change is size and structure. RFC 9881 gives ML-DSA public key and signature sizes in bytes, for example 1952 and 3309 for ML-DSA-65, and 2592 and 4627 for ML-DSA-87. RFC 9909 gives SLH-DSA signature sizes from 7856 bytes (128s) to 49856 bytes (256f). Larger keys and signatures mean certificates, CRLs and handshake messages grow, so parsers and buffers must handle them. Parsers also need to identify key variants by ASN.1 tag rather than by length. RFC 9881 and RFC 9935 both say this for private keys. Test your parsers, buffers and size limits against the sizes in the spec you deploy.

Why must parsers check ASN.1 tags instead of lengths?

Because one key type can appear in more than one form, and the form is marked by the tag. RFC 9881 defines the ML-DSA private key as a choice of a 32-byte seed (tag [0], recommended), an expanded key, or both as a sequence. It says parsers should identify the variant by tag (0x80, 0x04 or 0x30) rather than by length. RFC 9935 makes the same point for ML-KEM, with a 64-octet seed and expanded keys of 1632, 2400 or 3168 octets. A parser that guesses the variant from length can misread a key, so check that your code reads the tag.

What should I ask vendors about ASN.1 and post-quantum certificates?

Ask for these in writing:

  • Which RFCs or ASN.1 modules they implement for post-quantum keys and signatures, with versions and dates.
  • Whether their parsers identify key variants by ASN.1 tag, and how they handle the larger sizes in those specs.
  • Which ASN.1 encoding rules their certificate and CRL output uses, and whether signatures are computed over the DER-encoded tbsCertificate.
  • Whether a composite format is supported, and which module identifier it registers.
  • What testing they have done against the sizes in the spec, and how they will handle a parser failure.

Keep the answers, because they set your inventory and migration plan.

Where can I read the ASN.1 modules for post-quantum certificates?

Start with the RFCs that define them. RFC 5280 provides the base certificate profile and its ASN.1 modules. RFC 9881 contains the ML-DSA module in its Appendix A. RFC 9909 covers SLH-DSA identifiers, RFC 9935 covers ML-KEM identifiers, and RFC 10073 covers composite ML-DSA with module identifier decimal 127. RFC 9794 defines the term PQ/T hybrid certificate. Read the ASN.1 module in the RFC you deploy, not a summary. Check the RFC's status and date, since the sources list several as Proposed Standards with dates from 2025 and 2026.

How DeployOpen works on this

DeployOpen works on ASN.1 changes by first mapping which certificates, private keys and signed structures in a client's environment depend on ASN.1 encoding, then testing how those structures parse once post-quantum algorithm identifiers and larger keys appear. The work is delivered as a fixed-scope engagement with written deliverables, and the client's own environment is the reference for every check.

How we scope

  • We list the certificate, CRL and key formats in your environment that are defined in ASN.1 modules.
  • The written scope names which PKI components, parsers and certificate profiles are covered and which are excluded.
  • We confirm which RFC profile and OID set each in-scope system is expected to follow, using the versions your vendors support.
  • Engagements are fixed-scope, and ongoing support can be added as a retainer once the scope is agreed.

How we build

  • We test whether your certificate and key parsers select private key variants by ASN.1 tag rather than by length.
  • We check that algorithm identifiers for ML-DSA, SLH-DSA and ML-KEM are encoded as the relevant RFCs require in your test certificates.
  • We verify how your systems handle larger public keys and signatures inside DER-encoded certificate structures.

How we hand over

  • You receive a written record of each ASN.1 module, encoding rule and OID set we tested, with the versions used.
  • The documentation lists the parsing findings and the configuration changes made in your environment.
  • We provide a retest of the parsing and encoding checks after fixes, so your team can confirm the results independently.

How we support

  • A retainer can cover re-testing when vendors update their PKI libraries or when new RFC profiles are adopted.
  • Upgrades and parser changes are documented so your security and compliance teams can review them later.
  • Questions about ASN.1 behavior in your environment can be routed through the same support channel as the original engagement.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.