fromComponents static method

ASN1ObjectIdentifier fromComponents(
  1. List<int> components, {
  2. int tag = OBJECT_IDENTIFIER,
})

Implementation

static ASN1ObjectIdentifier fromComponents(List<int> components,
    {int tag = OBJECT_IDENTIFIER}) {
  assert(components.length >= 2);
  assert(components[0] < 3);
  assert(components[1] < 39);

  return ASN1ObjectIdentifier(components,
      identifier: components.join('.'), tag: tag);
}