Skip to content

Commit

Permalink
Removed the distribution points implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Dec 30, 2021
1 parent e15b8e8 commit d94bd05
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions lib/src/extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -570,30 +570,6 @@ class DistributionPoint {
/// reasons [1] ReasonFlags OPTIONAL,
/// cRLIssuer [2] GeneralNames OPTIONAL }
factory DistributionPoint.fromAsn1(ASN1Sequence sequence) {
// String? name;
// List<DistributionPointReason>? reasons;
// String? crlIssuer;
// for (final element in sequence.elements) {
// switch (element.tag) {
// case 0xa0:
// name = toDart(element);
// break;
// case 0xa1:
// reasons = ((element as ASN1BitString)
// .valueBytes()
// .map((v) => DistributionPointReason.values[v])
// .toList());
// break;
// case 0xa2:
// crlIssuer = String.fromCharCodes(toDart(element));
// break;
// }
// }
// return DistributionPoint(
// name: name,
// reasons: reasons,
// crlIssuer: crlIssuer,
// );
// TODO Implement the correct behaviour here. We ignore it for now.
return DistributionPoint();
}
Expand Down

0 comments on commit d94bd05

Please sign in to comment.