nonCriticalExtensionOIDs property

List<String> get nonCriticalExtensionOIDs

Get a list of non critical extension OID codes

Implementation

List<String> get nonCriticalExtensionOIDs {
  var extensionBlocks = this.extensionBlocks;
  if (extensionBlocks == null) {
    return <String>[];
  }
  return extensionBlocks
      .map((block) => X509Extension(block: block))
      .where((extension) => !extension.isCritical)
      .map((extension) => extension.oid ?? '')
      .toList();
}