Skip to content
pubscout

x509

0.2.4+3, released 2 years ago by appsup.be

Dart library for parsing and working with X.509 certificates.

WASM-ready
$ flutter pub add x509
Source repository

What it does

Parses and provides utilities for working with X.509 certificates in Dart. Allows reading PEM files and inspecting certificate details.

AI-written summary of version 0.2.4+3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to parse X.509 certificates in a Dart application
  • You are working with PEM-encoded certificate files

Skip it when

  • You need a full PKI infrastructure management system

Strengths

  • Simplifies parsing of X.509 certificates
  • Supports various certificate extensions

Weaknesses

  • Limited documentation beyond the basic usage example

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
3
import 'package:x509/x509.dart';
import 'dart:io';

void main() {
  var cert = parsePem(File('cert.pem').readAsStringSync());
      
  print(cert);
}

Alternatives

Packages that do the same job and could replace x509.

Works with

Packages commonly used together with x509: ones it builds on, ones built on it, and its own family.