PackageKey constructor

PackageKey({
  1. required String use,
  2. required String alg,
  3. required String pub,
  4. String? kid,
  5. KeyEntryStatus status = KeyEntryStatus.active,
})

Implementation

PackageKey({
  required this.use,
  required this.alg,
  required this.pub,
  String? kid,
  this.status = KeyEntryStatus.active,
}) : kid = kid ?? computeKid(pub);