File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Open-sourced under the [Apache License 2.0](LICENSE).
22
22
- [ cryptography_test] ( cryptography_flutter )
23
23
- Cross-platform tests. Note that "cryptography" and "cryptography_flutter_integration_test"
24
24
contain more tests than just these.
25
- - [ jwk ] ( jwk )
25
+ - [ jwk_plus ] ( jwk )
26
26
- JWK (JSON Web Key) encoding / decoding.
27
27
28
28
## Contributing
Original file line number Diff line number Diff line change 1
- [ ![ Pub Package] ( https://img.shields.io/pub/v/jwk .svg )] ( https://pub.dev/packages/jwk )
1
+ [ ![ Pub Package] ( https://img.shields.io/pub/v/jwk_plus .svg )] ( https://pub.dev/packages/jwk_plus )
2
2
[ ![ Github Actions CI] ( https://github.com/emz-hanauer/dart-cryptography/workflows/Dart%20CI/badge.svg )] ( https://github.com/emz-hanauer/dart-cryptography/actions?query=workflow%3A%22Dart+CI%22 )
3
3
4
4
# Overview
5
5
6
- JWK (JSON Web Key) encoding and decoding. Designed to be used with
6
+ JWK plus (JSON Web Key) encoding and decoding. Designed to be used with
7
7
[ package: cryptography_plus ] ( https://pub.dev/packages/cryptography_plus ) .
8
8
9
9
Licensed under the [ Apache License 2.0] ( LICENSE ) .
@@ -15,7 +15,7 @@ In _pubspec.yaml_
15
15
``` yaml
16
16
dependencies :
17
17
cryptography_plus : ^2.7.0
18
- jwk : ^0.2.4
18
+ jwk_plus : ^0.2.4
19
19
` ` `
20
20
21
21
# Examples
@@ -24,7 +24,7 @@ dependencies:
24
24
25
25
` ` ` dart
26
26
import 'package:cryptography_plus/cryptography_plus.dart';
27
- import 'package:jwk/jwk .dart';
27
+ import 'package:jwk_plus/jwk_plus .dart';
28
28
29
29
Future<void> main() async {
30
30
final keyPair = await RsaPss().newKeyPair();
@@ -36,7 +36,7 @@ Future<void> main() async {
36
36
## Decoding SecretKey
37
37
38
38
``` dart
39
- import 'package:jwk/jwk .dart';
39
+ import 'package:jwk_plus/jwk_plus .dart';
40
40
41
41
void main() {
42
42
final jwk = Jwk.fromJson({
Original file line number Diff line number Diff line change 15
15
/// JWK (JSON Web Key) encoding and decoding.
16
16
///
17
17
/// See documentation for the class [Jwk] .
18
- library jwk ;
18
+ library jwk_plus ;
19
19
20
20
import 'dart:convert' ;
21
21
import 'dart:typed_data' ;
Original file line number Diff line number Diff line change 1
- name : jwk
1
+ name : jwk_plus
2
2
version : 0.2.4
3
3
homepage : https://github.com/emz-hanauer/dart-cryptography
4
4
description : JWK (JSON Web Key) encoding and decoding (for package:cryptography).
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- import 'package:jwk/jwk .dart' ;
15
+ import 'package:jwk_plus/jwk_plus .dart' ;
16
16
import 'package:test/test.dart' ;
17
17
18
18
void main () {
You can’t perform that action at this time.
0 commit comments