x509
0.2.4+3, released 2 years ago by appsup.be
Dart library for parsing and working with X.509 certificates.
WASM-ready
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.
- dlibphonenumber
Parse, format, validate and extract international phone numbers in pure Dart.
77Compare
Works with
Packages commonly used together with x509: ones it builds on, ones built on it, and its own family.
- quiverx509 depends on itA set of utility libraries for Dart containing collections, async tools, and testing helpers.
- asn1libx509 depends on itEncodes and decodes ASN.1 objects using BER byte encoding in Dart.
- crypto_keysx509 depends on itLibrary for signing, verifying, encrypting and decrypting using pointycastle.
- joseBuilt on x509Javascript Object Signing and Encryption library supporting JWE, JWS, JWK and JWT.
- firebase_adminBuilt on x509Pure Dart Firebase admin SDK for authentication and Realtime Database.