DirectoryServerInfo
DirectoryServerInfo parameters are used to specify certificate details for the various supported directory servers (DS). When creating a Transaction, the DS_ID is used to specify the certificates to be used for that transaction. Each DirectoryServerInfo consists of three pieces of information:
- DS_ID An identifier used internally in the SDK to match the transaction with a particular DS. Also referred to as an RID.
- DS_CERT Encryption certificate provided by the DS. Used to encrypt the DeviceInfo and generate keys to use for Challenge security.
- DS_CA_CERT The root CA certificate used to issue the DS_CERT. This is used to verify the signature on the response from the DS (ARes packet), and can include the intermediate certificate as well.
Preconfigured Certificates
The 3DS SDK comes preconfigured with certificates for the following Directory Servers. To use these certificates, simply pass one of the DS ID values below when creating the Transaction.Card Scheme | DS ID | DS CERT | DS CA CERT(S) |
Visa | A000000003 | CN=3ds2.rsa.encryption.visa.com Expires: 2024-08-22 | CN=Visa eCommerce Root CA - G2 CN=Visa eCommerce Root CN=Visa Public RSA Root CA |
MasterCard | A000000004 | CN=3ds2.directory.mastercard.com Expires: 2024-06-15 | CN=PRD MasterCard Identity Check Root CA |
Amex | A000000025 | CN=sdk.safekey.encryptkey.com Expires: 2023-08-18 | CN=American Express Private Certification Authority |
Discover | A000000152 | CN=Discover SDK Expires: 2027-03-07 | CN=extendedroot.protectbuy.com |
JCB | A000000065 | CN=ds2apr.jcb-tds.com Expires: 2051-03-02 | CN=JCB DS Root CA EMV 3-D Secure |
UnionPay | A000000333 | CN=CFCA@UnionPay International@N9131000005455878X6@1 Expires: 2025-07-08 | CN=CFCA ACS CA |