ASN1AlgorithmIdentifier.fromSequence constructor
ASN1AlgorithmIdentifier.fromSequence(
- ASN1Sequence seq
Implementation
ASN1AlgorithmIdentifier.fromSequence(ASN1Sequence seq) {
algorithm = seq.elements!.elementAt(0) as ASN1ObjectIdentifier;
if (seq.elements!.length >= 2) {
parameters = seq.elements!.elementAt(1);
}
}