Skip to content

Commit

Permalink
delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ueman committed Sep 18, 2024
1 parent 6c004b5 commit 3ed02ca
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions passkit/lib/src/pkpass/pkpass.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,6 @@ import 'package:passkit/src/signature_verification.dart';
import 'package:passkit/src/strings_parser/naive_strings_file_parser.dart';
import 'package:passkit/src/write_signature.dart';

/// Follow [this](https://www.kodeco.com/2855-beginning-passbook-in-ios-6-part-1-2?page=4#toc-anchor-011)
/// tutorial for instructions on how to create the signature with OpenSSL.
///
/// ```bash
/// /// openssl smime -binary -sign -certfile WWDR.pem -signer passcertificate.pem -inkey passkey.pem -in manifest.json -out signature -outform DER -passin pass:12345
/// ```
///
/// [manifest] is the file you need to pass to OpenSSL as `manifest.json`.
/// [wwdrCertificate] is the file content you need to pass to OpenSSL as `WWDR.pem`
///
/// If you know how to do it in pure Dart code, please add an example or create
/// a PR: https://github.com/ueman/passkit/issues/74
typedef SignatureBuilder = Uint8List Function(
String manifest,
List<int> wwdrCertificate,
);

/// Dart uses a special fast decoder when using a fused [Utf8Decoder] and [JsonDecoder].
/// This speeds up decoding.
/// See
Expand Down

0 comments on commit 3ed02ca

Please sign in to comment.