apiverve_caaparser 1.2.3
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.
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 #
- API Home: CAA Record Parser API
- Documentation: docs.apiverve.com/ref/caaparser
Authentication #
All requests require an API key. Get yours at apiverve.com.
License #
MIT License - see LICENSE for details.
Built with Dart for APIVerve