Skip to content

Commit

Permalink
RSA key size examples, ECC descriptions (#3136)
Browse files Browse the repository at this point in the history
* RSA key size examples, ECC descriptions

* remove preview changes for now
  • Loading branch information
daviddesberg authored and bashahee committed Jun 1, 2018
1 parent f33a1e9 commit 781356c
Showing 1 changed file with 21 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3011,7 +3011,25 @@
"enum": [ "P-256", "P-384", "P-521", "SECP256K1" ],
"x-ms-enum": {
"name": "JsonWebKeyCurveName",
"modelAsString": true
"modelAsString": true,
"values": [
{
"value": "P-256",
"description": "The NIST P-256 elliptic curve, AKA SECG curve SECP256R1."
},
{
"value": "P-384",
"description": "The NIST P-384 elliptic curve, AKA SECG curve SECP384R1."
},
{
"value": "P-521",
"description": "The NIST P-521 elliptic curve, AKA SECG curve SECP521R1."
},
{
"value": "SECP256K1",
"description": "The SECG SECP256K1 elliptic curve."
}
]
}
},
"x": {
Expand Down Expand Up @@ -3583,7 +3601,7 @@
"key_size": {
"type": "integer",
"format": "int32",
"description": "The key size in bytes. For example; 1024 or 2048."
"description": "The key size in bits. For example: 2048, 3072, or 4096 for RSA."
},
"reuse_key": {
"type": "boolean",
Expand Down Expand Up @@ -3876,7 +3894,7 @@
"key_size": {
"type": "integer",
"format": "int32",
"description": "The key size in bytes. For example, 1024 or 2048."
"description": "The key size in bits. For example: 2048, 3072, or 4096 for RSA."
},
"key_ops": {
"type": "array",
Expand Down

0 comments on commit 781356c

Please sign in to comment.