Skip to content

Commit cd9010c

Browse files
committed
Update readme to include the RSA-PPS alg
1 parent 1798b95 commit cd9010c

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![Build Status](https://travis-ci.org/jsonwebtoken/jsonwebtoken.github.io.png?branch=master)](https://travis-ci.org/jsonwebtoken/jsonwebtoken.github.io)
66

77
### How to add a library
8+
89
To add a library, simply edit the right JSON file located at `views/website/libraries`. Each language gets its own file. Multiple libraries share the same language file.
910

1011
To add a new language, simply add a JSON file in the same folder as the others. It will get automatically recognized. If you add a new language, you will need to provide a proper icon for it and place it in the `img` folder.
@@ -19,23 +20,23 @@ Here's a commented example of the .NET language file (`0-.NET.json`). All fields
1920
// Unique identifier that will be used as a CSS class
2021
// for this language (only valid CSS class names).
2122
"uniqueClass": "net",
22-
23+
2324
// The language icon, SVG format preferred, should be placed
2425
// in /img directory.
2526
"image": "/img/1.svg",
26-
27+
2728
// The color of header that displays the name of the language
2829
// and the icon. This is a valid CSS color definition.
2930
"bgColor": "rgb(42, 168, 229)",
30-
31+
3132
// An array of libraries for this language.
3233
"libs": [
3334
{
3435
// In case the library suffered from a vulnerability, the
3536
// minimum version in which the vuln was fixed must be
3637
// listed here. Optional (can be null).
3738
"minimumVersion": "1.0.1", // or null
38-
39+
3940
// Supported features, true for supported,
4041
// false for not supported.
4142
"support": {
@@ -56,23 +57,26 @@ Here's a commented example of the .NET language file (`0-.NET.json`). All fields
5657
"rs512": true,
5758
"es256": true,
5859
"es384": true,
59-
"es512": true
60+
"es512": true,
61+
"ps256": true,
62+
"ps384": true,
63+
"ps512": true
6064
},
61-
65+
6266
// Author URL, can be GitHub profile, personal page
6367
// company page, etc. Can be null.
6468
"authorUrl": "https://www.microsoft.com", // or null
65-
69+
6670
// Author name.
6771
"authorName": "Microsoft",
68-
72+
6973
// For the star count, this is the GitHub repository path,
7074
// (usually user/repo). Can be null (no star count shown).
7175
"gitHubRepoPath": "AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet", // or null
72-
76+
7377
// URL for source code.
7478
"repoUrl": "https://github.com/MSOpenTech/azure-activedirectory-identitymodel-extensions-for-dotnet",
75-
79+
7680
// Install command, can be HTML or plain text.
7781
"installCommandHtml": "Install-Package<br><a href=\"https://www.nuget.org/packages/System.IdentityModel.Tokens.Jwt/\">System.IdentityModel.Tokens.Jwt</a>"
7882
}

0 commit comments

Comments
 (0)