Signature.fromASN1 constructor

Signature.fromASN1(
  1. List<int> asn1Bytes
)

Implementation

Signature.fromASN1(List<int> asn1Bytes) {
  var p = ASN1Sequence.decode(asn1Bytes);
  R = (p.children[0] as ASN1Integer).value;
  S = (p.children[1] as ASN1Integer).value;
}