Which Mastercard API functions depend on RSA keys today
If you are inventorying card network and API connections to Mastercard, three public-key dependencies matter most. OAuth 1.0a request signing uses a 2048-bit RSA private key, with oauth_signature_method set to RSA-SHA256 and the public key certified by Mastercard. Payload encryption wraps a one-time 128-bit or 256-bit AES session key with the recipient's 2048-bit RSA public key using RSA-OAEP with a SHA256 or SHA512 digest. mTLS client certificates are X.509 keys issued under a PKI framework. In the Mastercard Developers pages we checked on 2026-12-03, none of these three dependencies names a post-quantum replacement.
Scope the inventory carefully. This entry covers public-key dependencies only: which Mastercard functions rely on RSA for signing, key wrapping and client authentication. It does not assess the wider product, its symmetric encryption, its TLS versions, or its hardware. The mTLS guide does not specify cipher suites, key sizes or key algorithms for client certificates, and its Java sample calls SSLContext.getInstance("TLS") without pinning a version. Record the certificate algorithm and key size from your own issued certificates rather than assuming RSA-2048 for mTLS.
For each integration, confirm three things with Mastercard and in your own environment: which OAuth method each API uses (OAuth 1.0a is the default for most APIs, while OAuth 2.0 client credentials with the FAPI 2.0 profile is also offered), which payload encryption format is in use (JWE with AES in CBC or GCM, or Mastercard Encryption with AES in CBC only), and which external CA issued any uploaded client certificate. Mastercard does not store customer private keys and a lost key cannot be recovered, so note where each key is held. Mastercard's March 2024 newsroom article describes post-quantum testing but names no algorithm or enablement setting, so treat it as research, not as a supported configuration.
Public-key use by Mastercard function, with source and date
This table lists each Mastercard function that relies on public-key cryptography, the key type and size the sources state, whether a stronger or post-quantum option is named, and the source and check date for each row. Rows marked with a dash are ones where the sources are silent on key size or algorithm, so confirm those with Mastercard before relying on them. The main takeaway is that every documented dependency is classical RSA or X.509 based, and none of the checked pages names a post-quantum replacement.
| Function | Key type and size as stated | Stronger or PQC option named | Source and check date |
|---|---|---|---|
| OAuth 1.0a request signing | RSA-SHA256 signing with a 2048-bit RSA private key, public key certified by Mastercard | No | Mastercard Developers OAuth 1.0a guide, checked 2026-12-04 |
| Payload encryption key wrapping | 2048-bit RSA key pairs, RSA-OAEP with SHA256 or SHA512, wrapping one-time AES-128 or AES-256 session keys | No | Mastercard Developers payload encryption, checked 2026-12-04 |
| mTLS client certificates | X.509 client certificates; key algorithm and key size not stated | No | Mastercard Developers mTLS guide, checked 2026-12-03 |
| mTLS certificate signing requests | PKCS #10 syntax; key algorithm, key size, signature algorithm and curve not stated | No | Mastercard Developers mTLS CSR requirements, checked 2026-12-04 |
| OAuth 2.0 client credentials with FAPI 2.0 | Key type and size not stated on the authentication overview page | No | Mastercard Developers authentication overview, checked 2026-12-04 |
| TLS in transit | TLS versions and cipher suites not named on the payload encryption page; mTLS guide cites RFC 5246 (TLS 1.2) for the handshake | No | Mastercard Developers payload encryption and mTLS guide, checked 2026-12-03 and 2026-12-04 |
| Post-quantum algorithms (ML-KEM, ML-DSA, SLH-DSA) | None of the checked Mastercard API pages names these algorithms or a setting to enable them | No | Mastercard Developers mTLS guide and payload encryption pages, checked 2026-12-03 and 2026-12-04 |
| Post-quantum work (newsroom) | Testing of NIST-selected candidates in a simulated cloud network; no product version or enablement setting named | Tested, not enabled | Mastercard Newsroom, March 14, 2024 |
Which Mastercard components carry public keys
Mastercard's documented integrations rely on public-key cryptography in four places: request signing, payload encryption, client authentication and transport. Each card below names one of these components, the key or certificate it uses, and what the vendor documentation does and does not state about its algorithm and size.
OAuth 1.0a signing key
Mastercard's OAuth 1.0a documentation requires the oauth_signature_method value RSA-SHA256 and describes the signing key as a 2048-bit RSA private key, with the public key certified by Mastercard. This is the default for most Mastercard APIs according to the authentication overview. Check which signing methods your client libraries allow, and confirm with Mastercard whether any alternative signing options exist for your API product.
Payload encryption key pair
Mastercard's payload encryption uses 2048-bit RSA key pairs. A one-time 128-bit or 256-bit AES session key is wrapped with the recipient's RSA public key using RSA-OAEP with a SHA256 or SHA512 digest. Keys are identified by a hex-encoded SHA-256 fingerprint of the RSA public key. Mastercard does not store customer private keys and states a lost key cannot be recovered, so key custody and backup belong in your inventory.
Payload encryption docsmTLS client certificates and CSRs
Mastercard's mTLS guide covers client certificates requested through the Key Management Portal, generated from a Mastercard or custom CSR, or uploaded from an external CA. The CSR page defines syntax by reference to PKCS #10 but does not specify a key algorithm, key size, signature algorithm or curve. Confirm these parameters with Mastercard before you generate keys, since the documentation does not state them.
mTLS guideExternal CAs accepted for uploads
Mastercard's mTLS guide lists the external CAs accepted for client certificate uploads: Buypass, CPN Enterprise, CPN RootCA, DigiCert, GoDaddy, NETS AS, USERTrust and VeriSign. If your certificates come from another authority, confirm acceptance before planning a rotation. Certificate issuance from these CAs inherits whatever algorithms those CAs use, so record the issuing CA and key type for each certificate in your inventory.
mTLS guideKey Management Portal and PKCS formats
The mTLS guide says Key Management Portal downloads should use the PKCS #8 format option, and its Java sample loads a PKCS#12 keystore. Format choice determines how private keys are stored and moved between systems. Record which format each key and keystore uses, and confirm which format your client runtime expects before a migration.
mTLS guideTLS in transit
The mTLS guide cites RFC 5246 (TLS 1.2) for the mutual handshake, but its Java sample calls SSLContext.getInstance("TLS"), which does not pin a version. The payload encryption page says TLS encrypts data in transit by default but names no TLS versions or cipher suites. Confirm the negotiated protocol and key exchange with Mastercard and test your own client configuration rather than relying on defaults.
How the dependency differs by authentication method
OAuth 1.0a is the default authentication method for most Mastercard APIs, according to Mastercard's authentication overview. Requests are signed rather than sent with a bearer secret, and the signature depends on a key pair that the client controls. The OAuth 1.0a guide requires the signature method value RSA-SHA256 and describes the signing key as a 2048-bit RSA private key, with the matching public key certified by Mastercard.
- Key involved: a 2048-bit RSA private key held by the client, with the public key certified by Mastercard.
- Algorithm: RSA-SHA256 is the only signature method the guide names for this flow.
- Not specified: the guide does not name any other key size, a curve, or a post-quantum signature option.
- Where it applies: this dependency covers request signing for the API calls that use OAuth 1.0a, which is the default for most Mastercard APIs.
- Dependency in practice: the RSA-2048 signing key is the public-key dependency for every OAuth 1.0a request that uses it.
Confirm with Mastercard which APIs in your integration use OAuth 1.0a, and check the current key size and signature method in the OAuth 1.0a guide before recording the dependency.
Mastercard's authentication overview lists OAuth 2.0 client credentials with the FAPI 2.0 security profile as a second authentication method. The sources describe the profile by name, but the Mastercard pages checked for this research do not give the key, algorithm or curve that the client uses in this flow. Assessors should treat the key material as something to confirm with Mastercard, not as a settled fact.
- Key involved: the sources do not name the client key or the signing key used in this flow.
- Algorithm: the sources do not specify an algorithm, key size or curve for client authentication under FAPI 2.0.
- Not specified: cipher suites, curves and any key material for FAPI 2.0 client credentials are not given on the pages checked.
- Where it applies: the authentication overview names this method alongside OAuth 1.0a and mTLS, so it is one of the three methods a client may use.
- Dependency in practice: whether this flow relies on RSA, elliptic-curve or another key type is open on the pages checked.
Ask Mastercard which key type, algorithm and curve apply to OAuth 2.0 client credentials with FAPI 2.0, and record the answer against the API it covers.
Mutual TLS uses an X.509 client certificate, and Mastercard's mTLS guide cites RFC 5246, TLS 1.2, for the handshake. Certificates are either generated by Mastercard from a certificate signing request, or uploaded from a supported external certificate authority. The guide does not specify cipher suites, key sizes or key algorithms for mTLS certificates, so the key type of an mTLS dependency must be taken from the certificate itself.
- Keys involved: the client certificate and its private key, issued under a PKI framework, for Sandbox at mtf.services.mastercard.com and Production at services.mastercard.com.
- Algorithm: the guide does not specify a key algorithm, key size or signature algorithm for the certificate, and the CSR page does not name a curve.
- Not specified: cipher suites, TLS version restrictions beyond the RFC 5246 reference, and any post-quantum option.
- Export format: Key Management Portal downloads should use the PKCS #8 format option, and the Java sample loads a PKCS#12 keystore.
- Failure mode: the error INVALID_CLIENT_CERT means the client certificate is invalid or missing from the request.
Record the key algorithm and size of each client certificate from its own issuance record, since the Mastercard pages leave them open.
Payload encryption is a separate, data-level case. It applies to sensitive fields inside a message, in addition to the transport protection that TLS provides, and it does not replace the authentication methods above. Mastercard's payload encryption documentation specifies 2048-bit RSA key pairs and uses RSA-OAEP to wrap one-time AES session keys, so the recipient's RSA public key is the dependency here.
- Keys involved: a 2048-bit RSA key pair, with the recipient's public key used to wrap a one-time 128-bit or 256-bit AES session key.
- Algorithm: RSA-OAEP with a SHA256 or SHA512 digest.
- Formats: JWE uses AES in CBC and GCM modes, while the Mastercard Encryption format uses AES in CBC mode only.
- Key identification: keys are identified by a hex-encoded SHA-256 fingerprint of the RSA public key.
- Not specified: the documentation does not name TLS versions or cipher suites for the transport layer.
Check which format and key fingerprint your integration uses, and keep the private key under your control, because Mastercard does not store customer private keys and a lost key cannot be recovered.
Mastercard's three public-key uses sit in OAuth signing, payload key wrapping and mTLS
The diagram follows one Mastercard API request from the client. The client opens an mTLS connection using an X.509 client certificate, signs the OAuth 1.0a request with RSA-SHA256 using a 2048-bit RSA private key, and for encrypted payloads wraps a one-time AES session key with the recipient's RSA-OAEP public key. Check each hand-off against the Mastercard Developers pages, since the sources do not name a post-quantum replacement for any of these keys.
Three public-key operations an API client performs on one Mastercard request.
How to record Mastercard's public-key dependencies in an inventory
This sequence produces a dated inventory row for each Mastercard interface that relies on RSA, Diffie-Hellman or elliptic-curve keys, so a security assessor can see which key type, certificate chain and wrapping key each flow depends on. Work through the steps in order, because each one feeds the next.
List every Mastercard API your integration calls
Start with your own code, gateway configuration and vendor contracts, and list each Mastercard API endpoint your systems call, along with the environment it runs in, Sandbox (mtf.services.mastercard.com) or Production (services.mastercard.com). Note which team owns each integration. The step is complete when every API has a row with its endpoint, environment and owner. Use your network logs or outbound firewall rules to catch calls that the documentation or the code does not show, since an undocumented call is an inventory gap.
Record the authentication method for each API
For each row, record the authentication method the call uses. Mastercard's authentication overview describes OAuth 1.0a as the default for most APIs, OAuth 2.0 client credentials with the FAPI 2.0 security profile, and mTLS using certificates issued under a PKI framework. Confirm the method in the API's own documentation page and in your request configuration, because one API can use a different method from another. The step is closed when each row names one method and the page you checked it against.
Record the key type and size from the vendor documentation
For each OAuth 1.0a integration, record that Mastercard's documentation requires the oauth_signature_method value RSA-SHA256 and describes the signing key as a 2048-bit RSA private key. For each payload-encrypted flow, record the 2048-bit RSA key pair and the RSA-OAEP wrapping with a SHA256 or SHA512 digest. For mTLS, record that Mastercard's guide does not specify key algorithms, key sizes or cipher suites, so that field stays open and must be confirmed. The step is complete when each row has a key type and size, or an explicit note that the vendor does not state one.
Check the certificate chain and CA on your client certificate
For each mTLS integration, identify how the client certificate was obtained: requested through the Key Management Portal with a Mastercard-generated or custom CSR, or uploaded from an external CA. If it was uploaded, record the issuing CA and compare it with the supported external CAs Mastercard lists (Buypass, CPN Enterprise, CPN RootCA, DigiCert, GoDaddy, NETS AS, USERTrust and VeriSign). Record the signature algorithm and key size from the certificate itself, because the CSR requirements page does not specify them. The step is closed when each certificate has a recorded issuer, chain and algorithm.
Confirm which keys wrap your encrypted payloads
For each payload-encrypted flow, identify the recipient RSA public key used to wrap the one-time AES session key, and record its hex-encoded SHA-256 fingerprint so it can be matched to the key Mastercard holds. Note whether the flow uses JWE (AES in CBC or GCM modes) or the Mastercard Encryption format (AES in CBC only). Mastercard states it does not store customer private keys and a lost key cannot be recovered, so record who holds the private key and where it is backed up. The step is complete when every encrypted flow names its wrapping key, its fingerprint and its key custodian.
Record what the TLS layer uses and what the vendor does not state
For the transport beneath every API, record the TLS version and cipher suites your client or gateway negotiates, since Mastercard's payload encryption documentation says TLS encrypts data in transit by default but does not name versions or suites. Mastercard's mTLS guide cites RFC 5246 (TLS 1.2) for the handshake, and its Java sample calls SSLContext.getInstance("TLS"), which does not pin a version. Record your own negotiated values and mark the vendor-side values as not stated. The step is closed when each row shows your observed TLS settings and the gap on the vendor side.
Record the post-quantum status for each dependency
For each row, record the post-quantum status as the vendor pages state it. None of the Mastercard pages checked names ML-KEM, ML-DSA, SLH-DSA, FIPS 203, FIPS 204, FIPS 205 or CNSA 2.0, and none documents a setting to enable post-quantum algorithms in Mastercard APIs. Mastercard's 2024 newsroom article describes testing of NIST-selected candidates and says the results will inform future network designs, which is not a supported setting. Record each dependency as RSA, Diffie-Hellman, elliptic-curve or X.509, with the status 'no post-quantum replacement named by vendor'. The step is closed when every row carries that status.
File the vendor pages with their check dates
Save a copy or a link to each Mastercard Developers page you relied on: the mTLS guide, the mTLS CSR requirements, the OAuth 1.0a guide, the authentication overview, the payload encryption page, and the newsroom notices from 2021, 2022 and 2024. Record the date you checked each page, since the mTLS guide's statements are dated to the check, and set a review date for each page. The step is complete when the inventory cites every page, with its check date and review date, next to the rows that rely on it.
What Mastercard has not documented on public-key algorithms
The Mastercard sources checked cover RSA-2048, RSA-OAEP and X.509 certificates in the places they are used, but they stop short of the settings a security assessor needs to record. The cards below list each gap and the question to put to Mastercard before the answer is written into an inventory.
Cipher suites and TLS versions
The mTLS guide cites RFC 5246 for the handshake, which is TLS 1.2, and its Java sample calls SSLContext.getInstance("TLS"), which does not pin a version. The payload encryption page says TLS/SSL protects data in transit by default but names neither versions nor cipher suites. Ask Mastercard which TLS versions and cipher suites its production endpoints accept, and whether any key exchange in those suites is elliptic-curve or RSA based.
mTLS guideKey algorithms and sizes for mTLS certificates
The mTLS guide, checked on 2026-12-03, does not specify key algorithms or key sizes for client certificates. Certificates can come from Mastercard through the Key Management Portal, from a custom CSR, or from one of the listed external CAs. Ask Mastercard for the minimum key algorithm and size it accepts for Sandbox and Production client certificates, and whether that differs by certificate source.
mTLS guideCurves and signature algorithms in CSRs
The Mastercard CSR page defines syntax by reference to PKCS #10 and sets Distinguished Name rules, but it does not name a key algorithm, key size, signature algorithm or curve. A customer submitting a CSR therefore cannot tell from the page which choices are accepted. Ask Mastercard which signature algorithms and elliptic curves its CSR intake accepts, and whether RSA-only submissions are required.
CSR requirementsPost-quantum algorithms such as ML-KEM and ML-DSA
None of the Mastercard pages checked names ML-KEM, ML-DSA, SLH-DSA, FIPS 203, FIPS 204, FIPS 205 or CNSA 2.0. The March 2024 newsroom article says Mastercard tested NIST-selected candidates in a simulated cloud network, but it names no specific algorithm or product version. Ask Mastercard which post-quantum algorithms, if any, are supported in production today, and in which API and certificate flows.
2024 newsroom articleSettings to enable PQC in the APIs
The OAuth 1.0a page requires RSA-SHA256 and a 2048-bit RSA signing key, and the payload encryption page specifies 2048-bit RSA key pairs with RSA-OAEP key wrapping. Neither page names a configuration option, header or parameter that turns on a post-quantum algorithm. Ask Mastercard whether any API setting, parameter or customer-side switch enables post-quantum algorithms, and what changes on the customer side when it is turned on.
Payload encryption docsWhat Mastercard has said about post-quantum work so far
Mastercard's public statements on post-quantum work are general and do not describe changes to the API key dependencies covered above. The most detailed is a newsroom article dated March 14, 2024, which says its Quantum Security and Communications project, launched in 2021, tested new quantum-resistant encryption algorithms, including NIST-selected candidates, in a simulated cloud network. The same article says Mastercard tested whether existing hardware platforms could support post-quantum cryptography (PQC) through software updates, and that the results will directly inform future network designs. It also reports that quantum key distribution is not yet ready to go live. The article names no specific PQC algorithm, product version or enablement setting.
Mastercard's contactless work is the other area it has described in public. A January 26, 2021 press release introduced Enhanced Contactless (Ecos) specifications, which it said apply quantum-resistant technologies to deliver next-generation algorithms and cryptographic key strengths. An October 10, 2022 press release said the first cards built to quantum-resistant EMVCo-compatible contactless specifications were available, and that they are designed to remain compatible with existing acceptance, network and issuer infrastructure. Neither release names an API setting, algorithm version or enablement step that a customer can act on.
Taken together, these statements do not change the RSA-2048, RSA-OAEP and X.509 dependencies documented for OAuth 1.0a request signing, payload encryption and mTLS. The Mastercard pages checked for this section name no ML-KEM, ML-DSA, SLH-DSA or CNSA 2.0 support and no setting to enable post-quantum algorithms in its APIs. Security assessors should record these releases as vendor statements of direction and confirm with Mastercard, in writing and with a date, which algorithms and settings are available in each API and edition they use.
Questions assessors ask about Mastercard's RSA and certificate keys
Are Mastercard's APIs quantum safe?
The documentation checked for this page does not support that claim, and Mastercard has not published one. The three documented dependencies are RSA-2048 request signing in OAuth 1.0a, RSA-OAEP key wrapping in payload encryption, and X.509 certificates in mTLS. The pages name no post-quantum replacement for any of them, and none names ML-KEM, ML-DSA, SLH-DSA or a setting to enable post-quantum algorithms. Mastercard's March 2024 newsroom article says it tested NIST-selected candidates in a simulated cloud network and that the results will inform future network designs, but it names no product version or enablement setting. The 2022 announcement of quantum-resistant contactless cards describes the card specifications, not the APIs. Ask Mastercard for a written statement covering each API you call.
Which key sizes do Mastercard's documented functions use?
Two of the three documented functions name a size. OAuth 1.0a requires the oauth_signature_method value RSA-SHA256 and describes the signing key as a 2048-bit RSA private key certified by Mastercard. Payload encryption uses 2048-bit RSA key pairs to wrap one-time 128-bit or 256-bit AES session keys, with RSA-OAEP using a SHA256 or SHA512 digest. The mTLS guide and CSR requirements do not specify a key algorithm, key size, signature algorithm or curve for client certificates, so the size of your certificate key has to be read from the certificate you receive or the CSR you submit. Record those values per environment, since the Sandbox and Production certificates are issued separately.
Does Mastercard document a stronger RSA key option?
The pages checked do not document one. The payload encryption page fixes its RSA key pairs at 2048 bits, and the OAuth 1.0a page fixes its signing key at 2048 bits, so neither names a larger size as an option. For mTLS, the Key Management Portal and the external CA upload path may accept keys of other sizes, but the guide does not say which sizes are allowed. Confirm with Mastercard whether any of these functions accepts a larger RSA modulus, an elliptic-curve key or a hybrid scheme, and ask for the date the answer applies from.
Can our team change these key settings itself?
For mTLS certificates, the documentation gives your team three routes: request a certificate on Mastercard Developers with a Mastercard-generated key or a custom CSR, request it through the Key Management Portal, or upload a certificate issued by a listed external CA (Buypass, CPN Enterprise, CPN RootCA, DigiCert, GoDaddy, NETS AS, USERTrust or VeriSign). Your team can choose the CSR contents and the CA, but the guide does not say that your team can choose the key algorithm or size. For OAuth 1.0a signing keys and payload encryption keys, the pages checked do not describe a self-service option to change the key size. Mastercard does not store customer private keys, and the payload encryption page says a lost key cannot be recovered, so plan key backup before any change.
What should we ask Mastercard about these keys?
Put these questions to Mastercard in writing. Which post-quantum algorithms, if any, are planned for mTLS, OAuth 1.0a signing and payload encryption, and in which API editions? Will RSA-2048 remain the only option for each function, or will a larger size or elliptic-curve key be offered? Which TLS versions and cipher suites are used in production, since the payload encryption page defers to TLS without naming them? What notice period applies before any algorithm is retired, and how will customers be told? Ask for the dates each answer applies from, and for the product or API version each one covers.
Do we need outside help to assess these keys?
It depends on how many Mastercard functions your systems call and how much of the key handling is in your own code. A team that already runs its own certificate inventory may need help only with the mapping for each function. Outside help is more useful when keys are generated, stored or wrapped in several systems, when the Sandbox and Production certificates are managed by different people, or when the payload encryption keys sit in an HSM or key service you do not run. DeployOpen can plan and implement the key inventory, the CSR and certificate changes, and the testing of each change through a fixed-scope engagement, with scope, deliverables and timelines agreed in writing before work begins. It does not issue audit reports or attestations.
How DeployOpen helps assess Mastercard integration keys
DeployOpen approaches Mastercard key dependencies as an inventory task: we map where your integrations rely on RSA, Diffie-Hellman or elliptic-curve keys across OAuth 1.0a signing, payload encryption and mTLS client certificates. We then document what each setting actually is, what the vendor pages confirm and what your team must still confirm with Mastercard.
How we scope
- We agree a written, fixed scope listing which Mastercard APIs, integrations and environments the assessment covers.
- We confirm which authentication methods are in use: OAuth 1.0a signing, payload encryption, mTLS or a combination.
- We identify which Sandbox and Production certificates, keystores and signing keys sit inside your organization's scope.
How we build
- We trace each integration to the key type it uses, recording the RSA-2048 signing key, RSA-OAEP wrapping key or X.509 client certificate.
- We check the key sizes, formats and signature methods configured in your code, keystores and Key Management Portal downloads.
- We record every point where Mastercard's documentation does not specify an algorithm, key size or curve, so gaps are visible.
How we hand over
- We deliver an inventory of key types, locations, owners and renewal dates for each Mastercard integration in scope.
- We provide a list of open questions for Mastercard, tied to the specific pages where the vendor has not stated its position.
- We document how each finding was verified, so your security and vendor-risk teams can review and repeat the assessment.
How we support
- Ongoing support and continuous review are available as a retainer, so the inventory stays current as Mastercard publishes changes.
- We can retest after your team rotates certificates, updates libraries or changes how payloads are encrypted.
- Scope changes are handled in writing, with updated deliverables agreed before any additional work begins.

