digestAlgorithms property Null safety

Iterable<ASN1ObjectIdentifier> digestAlgorithms

The signature Algorithm ID of the message.

Implementation

Iterable<ASN1ObjectIdentifier> get digestAlgorithms sync* {
  final algos = _data.elements![1] as ASN1Set;
  for (final algo in algos.elements!) {
    final algoSeq = algo as ASN1Sequence;
    yield algoSeq.elements![0] as ASN1ObjectIdentifier;
  }
}