ECKey.BuiltInCurvesJSON
-----------------------

Queries built in curves.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Sign](component_Sign.md) | [15.1](newinversion151.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "ECKey.BuiltInCurvesJSON" ) ### Parameters

none

### Result

Returns JSON or error.

### Description

Queries built in curves.  
Returns a list of curves in JSON format.  
We provide the identifier, name, comment and nist name.  
### Examples

Query list of names:

 MBS ("ECKey.BuiltInCurvesJSON")  
<small>  
Example result:   
\[ { "nid" : 704 , "name" : "secp112r1" , "nistname" : null, "comment" : "SECG/WTLS curve over a 112 bit prime field" }, { "nid" : 705 , "name" : "secp112r2" , "nistname" : null, "comment" : "SECG curve over a 112 bit prime field" }, { "nid" : 706 , "name" : "secp128r1" , "nistname" : null, "comment" : "SECG curve over a 128 bit prime field" }, { "nid" : 707 , "name" : "secp128r2" , "nistname" : null, "comment" : "SECG curve over a 128 bit prime field" }, { "nid" : 708 , "name" : "secp160k1" , "nistname" : null, "comment" : "SECG curve over a 160 bit prime field" }, { "nid" : 709 , "name" : "secp160r1" , "nistname" : null, "comment" : "SECG curve over a 160 bit prime field" }, { "nid" : 710 , "name" : "secp160r2" , "nistname" : null, "comment" : "SECG/WTLS curve over a 160 bit prime field" }, { "nid" : 711 , "name" : "secp192k1" , "nistname" : null, "comment" : "SECG curve over a 192 bit prime field" }, { "nid" : 712 , "name" : "secp224k1" , "nistname" : null, "comment" : "SECG curve over a 224 bit prime field" }, { "nid" : 713 , "name" : "secp224r1" , "nistname" : "P-224" , "comment" : "NIST/SECG curve over a 224 bit prime field" }, { "nid" : 714 , "name" : "secp256k1" , "nistname" : null, "comment" : "SECG curve over a 256 bit prime field" }, { "nid" : 715 , "name" : "secp384r1" , "nistname" : "P-384" , "comment" : "NIST/SECG curve over a 384 bit prime field" }, { "nid" : 716 , "name" : "secp521r1" , "nistname" : "P-521" , "comment" : "NIST/SECG curve over a 521 bit prime field" }, { "nid" : 409 , "name" : "prime192v1" , "nistname" : "P-192" , "comment" : "NIST/X9.62/SECG curve over a 192 bit prime field" }, { "nid" : 410 , "name" : "prime192v2" , "nistname" : null, "comment" : "X9.62 curve over a 192 bit prime field" }, { "nid" : 411 , "name" : "prime192v3" , "nistname" : null, "comment" : "X9.62 curve over a 192 bit prime field" }, { "nid" : 412 , "name" : "prime239v1" , "nistname" : null, "comment" : "X9.62 curve over a 239 bit prime field" }, { "nid" : 413 , "name" : "prime239v2" , "nistname" : null, "comment" : "X9.62 curve over a 239 bit prime field" }, { "nid" : 414 , "name" : "prime239v3" , "nistname" : null, "comment" : "X9.62 curve over a 239 bit prime field" }, { "nid" : 415 , "name" : "prime256v1" , "nistname" : "P-256" , "comment" : "X9.62/SECG curve over a 256 bit prime field" }, { "nid" : 717 , "name" : "sect113r1" , "nistname" : null, "comment" : "SECG curve over a 113 bit binary field" }, { "nid" : 718 , "name" : "sect113r2" , "nistname" : null, "comment" : "SECG curve over a 113 bit binary field" }, { "nid" : 719 , "name" : "sect131r1" , "nistname" : null, "comment" : "SECG/WTLS curve over a 131 bit binary field" }, { "nid" : 720 , "name" : "sect131r2" , "nistname" : null, "comment" : "SECG curve over a 131 bit binary field" }, { "nid" : 721 , "name" : "sect163k1" , "nistname" : "K-163" , "comment" : "NIST/SECG/WTLS curve over a 163 bit binary field" }, { "nid" : 722 , "name" : "sect163r1" , "nistname" : null, "comment" : "SECG curve over a 163 bit binary field" }, { "nid" : 723 , "name" : "sect163r2" , "nistname" : "B-163" , "comment" : "NIST/SECG curve over a 163 bit binary field" }, { "nid" : 724 , "name" : "sect193r1" , "nistname" : null, "comment" : "SECG curve over a 193 bit binary field" }, { "nid" : 725 , "name" : "sect193r2" , "nistname" : null, "comment" : "SECG curve over a 193 bit binary field" }, { "nid" : 726 , "name" : "sect233k1" , "nistname" : "K-233" , "comment" : "NIST/SECG/WTLS curve over a 233 bit binary field" }, { "nid" : 727 , "name" : "sect233r1" , "nistname" : "B-233" , "comment" : "NIST/SECG/WTLS curve over a 233 bit binary field" }, { "nid" : 728 , "name" : "sect239k1" , "nistname" : null, "comment" : "SECG curve over a 239 bit binary field" }, { "nid" : 729 , "name" : "sect283k1" , "nistname" : "K-283" , "comment" : "NIST/SECG curve over a 283 bit binary field" }, { "nid" : 730 , "name" : "sect283r1" , "nistname" : "B-283" , "comment" : "NIST/SECG curve over a 283 bit binary field" }, { "nid" : 731 , "name" : "sect409k1" , "nistname" : "K-409" , "comment" : "NIST/SECG curve over a 409 bit binary field" }, { "nid" : 732 , "name" : "sect409r1" , "nistname" : "B-409" , "comment" : "NIST/SECG curve over a 409 bit binary field" }, { "nid" : 733 , "name" : "sect571k1" , "nistname" : "K-571" , "comment" : "NIST/SECG curve over a 571 bit binary field" }, { "nid" : 734 , "name" : "sect571r1" , "nistname" : "B-571" , "comment" : "NIST/SECG curve over a 571 bit binary field" }, { "nid" : 684 , "name" : "c2pnb163v1" , "nistname" : null, "comment" : "X9.62 curve over a 163 bit binary field" }, { "nid" : 685 , "name" : "c2pnb163v2" , "nistname" : null, "comment" : "X9.62 curve over a 163 bit binary field" }, { "nid" : 686 , "name" : "c2pnb163v3" , "nistname" : null, "comment" : "X9.62 curve over a 163 bit binary field" }, { "nid" : 687 , "name" : "c2pnb176v1" , "nistname" : null, "comment" : "X9.62 curve over a 176 bit binary field" }, { "nid" : 688 , "name" : "c2tnb191v1" , "nistname" : null, "comment" : "X9.62 curve over a 191 bit binary field" }, { "nid" : 689 , "name" : "c2tnb191v2" , "nistname" : null, "comment" : "X9.62 curve over a 191 bit binary field" }, { "nid" : 690 , "name" : "c2tnb191v3" , "nistname" : null, "comment" : "X9.62 curve over a 191 bit binary field" }, { "nid" : 693 , "name" : "c2pnb208w1" , "nistname" : null, "comment" : "X9.62 curve over a 208 bit binary field" }, { "nid" : 694 , "name" : "c2tnb239v1" , "nistname" : null, "comment" : "X9.62 curve over a 239 bit binary field" }, { "nid" : 695 , "name" : "c2tnb239v2" , "nistname" : null, "comment" : "X9.62 curve over a 239 bit binary field" }, { "nid" : 696 , "name" : "c2tnb239v3" , "nistname" : null, "comment" : "X9.62 curve over a 239 bit binary field" }, { "nid" : 699 , "name" : "c2pnb272w1" , "nistname" : null, "comment" : "X9.62 curve over a 272 bit binary field" }, { "nid" : 700 , "name" : "c2pnb304w1" , "nistname" : null, "comment" : "X9.62 curve over a 304 bit binary field" }, { "nid" : 701 , "name" : "c2tnb359v1" , "nistname" : null, "comment" : "X9.62 curve over a 359 bit binary field" }, { "nid" : 702 , "name" : "c2pnb368w1" , "nistname" : null, "comment" : "X9.62 curve over a 368 bit binary field" }, { "nid" : 703 , "name" : "c2tnb431r1" , "nistname" : null, "comment" : "X9.62 curve over a 431 bit binary field" }, { "nid" : 735 , "name" : "wap-wsg-idm-ecid-wtls1" , "nistname" : null, "comment" : "WTLS curve over a 113 bit binary field" }, { "nid" : 736 , "name" : "wap-wsg-idm-ecid-wtls3" , "nistname" : null, "comment" : "NIST/SECG/WTLS curve over a 163 bit binary field" }, { "nid" : 737 , "name" : "wap-wsg-idm-ecid-wtls4" , "nistname" : null, "comment" : "SECG curve over a 113 bit binary field" }, { "nid" : 738 , "name" : "wap-wsg-idm-ecid-wtls5" , "nistname" : null, "comment" : "X9.62 curve over a 163 bit binary field" }, { "nid" : 739 , "name" : "wap-wsg-idm-ecid-wtls6" , "nistname" : null, "comment" : "SECG/WTLS curve over a 112 bit prime field" }, { "nid" : 740 , "name" : "wap-wsg-idm-ecid-wtls7" , "nistname" : null, "comment" : "SECG/WTLS curve over a 160 bit prime field" }, { "nid" : 741 , "name" : "wap-wsg-idm-ecid-wtls8" , "nistname" : null, "comment" : "WTLS curve over a 112 bit prime field" }, { "nid" : 742 , "name" : "wap-wsg-idm-ecid-wtls9" , "nistname" : null, "comment" : "WTLS curve over a 160 bit prime field" }, { "nid" : 743 , "name" : "wap-wsg-idm-ecid-wtls10" , "nistname" : null, "comment" : "NIST/SECG/WTLS curve over a 233 bit binary field" }, { "nid" : 744 , "name" : "wap-wsg-idm-ecid-wtls11" , "nistname" : null, "comment" : "NIST/SECG/WTLS curve over a 233 bit binary field" }, { "nid" : 745 , "name" : "wap-wsg-idm-ecid-wtls12" , "nistname" : null, "comment" : "WTLS curve over a 224 bit prime field" }, { "nid" : 749 , "name" : "Oakley-EC2N-3" , "nistname" : null, "comment" : "\\n\\tIPSec/IKE/Oakley curve #3 over a 155 bit binary field.\\n\\tNot suitable for ECDSA.\\n\\tQuestionable extension field!" }, { "nid" : 750 , "name" : "Oakley-EC2N-4" , "nistname" : null, "comment" : "\\n\\tIPSec/IKE/Oakley curve #4 over a 185 bit binary field.\\n\\tNot suitable for ECDSA.\\n\\tQuestionable extension field!" }, { "nid" : 921 , "name" : "brainpoolP160r1" , "nistname" : null, "comment" : "RFC 5639 curve over a 160 bit prime field" }, { "nid" : 922 , "name" : "brainpoolP160t1" , "nistname" : null, "comment" : "RFC 5639 curve over a 160 bit prime field" }, { "nid" : 923 , "name" : "brainpoolP192r1" , "nistname" : null, "comment" : "RFC 5639 curve over a 192 bit prime field" }, { "nid" : 924 , "name" : "brainpoolP192t1" , "nistname" : null, "comment" : "RFC 5639 curve over a 192 bit prime field" }, { "nid" : 925 , "name" : "brainpoolP224r1" , "nistname" : null, "comment" : "RFC 5639 curve over a 224 bit prime field" }, { "nid" : 926 , "name" : "brainpoolP224t1" , "nistname" : null, "comment" : "RFC 5639 curve over a 224 bit prime field" }, { "nid" : 927 , "name" : "brainpoolP256r1" , "nistname" : null, "comment" : "RFC 5639 curve over a 256 bit prime field" }, { "nid" : 928 , "name" : "brainpoolP256t1" , "nistname" : null, "comment" : "RFC 5639 curve over a 256 bit prime field" }, { "nid" : 929 , "name" : "brainpoolP320r1" , "nistname" : null, "comment" : "RFC 5639 curve over a 320 bit prime field" }, { "nid" : 930 , "name" : "brainpoolP320t1" , "nistname" : null, "comment" : "RFC 5639 curve over a 320 bit prime field" }, { "nid" : 931 , "name" : "brainpoolP384r1" , "nistname" : null, "comment" : "RFC 5639 curve over a 384 bit prime field" }, { "nid" : 932 , "name" : "brainpoolP384t1" , "nistname" : null, "comment" : "RFC 5639 curve over a 384 bit prime field" }, { "nid" : 933 , "name" : "brainpoolP512r1" , "nistname" : null, "comment" : "RFC 5639 curve over a 512 bit prime field" }, { "nid" : 934 , "name" : "brainpoolP512t1" , "nistname" : null, "comment" : "RFC 5639 curve over a 512 bit prime field" }, { "nid" : 1172 , "name" : "SM2" , "nistname" : null, "comment" : "SM2 curve over a 256 bit prime field" } \] </small>### See also

- [ECKey.BuiltInCurves](ECKeyBuiltInCurves.md)

### Release notes

- **Version 15.1**
    - Added [ECKey.BuiltInCurvesJSON](https://www.mbsplugins.eu/ECKeyBuiltInCurvesJSON.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin 15.1 News](https://www.mbsplugins.de/archive/2025-03-19/MBS_FileMaker_Plugin_151_News/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 15.1pr2](https://www.mbsplugins.de/archive/2025-02-06/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 3th February 2025 , last changed 11st April 2025

  
[ECKey.BuiltInCurves](ECKeyBuiltInCurves.md) - [ECKey.CanSign](ECKeyCanSign.md)

[HTML Version](ECKeyBuiltInCurvesJSON.shtml)