x509 0.2.4+3 x509: ^0.2.4+3 copied to clipboard
Dart library for parsing and working with X.509 certificates.
import 'package:x509/x509.dart';
import 'dart:io';
void main() {
var certRequest = parsePem(File('test/files/csr.pem').readAsStringSync())
.first as CertificationRequest;
print(certRequest.certificationRequestInfo.subject);
}