pkcs12_parser 1.0.0
pkcs12_parser: ^1.0.0 copied to clipboard
Pure-Dart PKCS#12 (.pfx/.p12) parser. Extracts certificates, private and public keys without OpenSSL. Supports PBES1, PBES2 (AES), MAC verification, RSA and EC.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate pkcs12_parserUse it
The package has the following executables:
$ pkcs12_parser
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pkcs12_parserWith Flutter:
$ flutter pub add pkcs12_parserThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pkcs12_parser: ^1.0.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pkcs12_parser/pkcs12_parser.dart';