Skip to main content

apiverve_caaparser 1.2.3 copy "apiverve_caaparser: ^1.2.3" to clipboard
apiverve_caaparser: ^1.2.3 copied to clipboard

CAA Record Parser analyzes DNS CAA records that specify which Certificate Authorities are authorized to issue certificates for a domain.

CAA Record Parser API - Dart/Flutter Client #

CAA Record Parser analyzes DNS CAA records that specify which Certificate Authorities are authorized to issue certificates for a domain.

pub package License: MIT

This is the Dart/Flutter client for the CAA Record Parser API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_caaparser: ^1.2.3

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_caaparser/apiverve_caaparser.dart';

void main() async {
  final client = CaaparserClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'record': 'example.com. 3600 IN CAA 0 issue "letsencrypt.org"'
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "raw_record": "example.com. 3600 IN CAA 0 issue \"letsencrypt.org\"",
    "parsed": {
      "domain": "example.com",
      "ttl": 3600,
      "class": "IN",
      "flags": 0,
      "tag": "issue",
      "value": "letsencrypt.org"
    },
    "ca_info": {
      "name": "Let's Encrypt",
      "type": "Free",
      "wildcard_support": true
    },
    "interpretation": {
      "meaning": "Only letsencrypt.org is authorized to issue certificates",
      "restriction": "Restricted to specific CA",
      "critical": false,
      "critical_explanation": "Non-critical - CA may proceed if not understood"
    },
    "tag_description": "Authorizes a CA to issue certificates (any type)",
    "is_valid": true
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
50
points
122
downloads

Documentation

API reference

Publisher

verified publisherapiverve.com

Weekly Downloads

CAA Record Parser analyzes DNS CAA records that specify which Certificate Authorities are authorized to issue certificates for a domain.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_caaparser