NAME
Crypt::Bear::X509::Certificate::Chain - A certificate chain for BearSSL
VERSION
version 0.002
SYNOPSIS
my $chain = Crypt::Bear::X509::CertificateChain->load($filename);
DESCRIPTION
This represents a certificate chain, from the end-user certificate to the root CA, potentially including intermediate CAs in between, or only one certificate if it's self-signed.
METHODS
new()
This creates a new empty certificate chain.
load($filename)
This class methods loads a certificate file, and creates a new certificate chain with all the certificates in the file in it.
add($certificate)
This adds a certificate to the chain.
count()
This return the number of certificates in the chain.
AUTHOR
Leon Timmermans <fawaka@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.