ASN1AlgorithmIdentifier.fromIdentifier constructor

ASN1AlgorithmIdentifier.fromIdentifier(
  1. String identifier, {
  2. ASN1Object? parameters,
})

Creates a AlgorithmIdentifier instance from the given identifier like "1.3.14.3.2.26".

Implementation

ASN1AlgorithmIdentifier.fromIdentifier(String identifier, {this.parameters}) {
  algorithm = ASN1ObjectIdentifier.fromIdentifierString(identifier);
}