NAME
Crypt::Bear::SSL::PrivateCertificate - a Certificate Chain and Private key combination for BearSSL
VERSION
version 0.002
SYNOPSIS
my $priv_cert = Crypt::Bear::SSL::PrivateCertificate->load('server.crt', 'server.key');
my $server = Crypt::Bear::SSL::Server->new($priv_cert);
DESCRIPTION
This repressents the pair of Certificate Chain and Private key, used to established secure connections.
METHODS
new($certificate, $key)
This creates a new certificate chain private key pair.
load($certificate_file, $key_file)
This loads the $certificate_file
and $key_file
, and creates a new object out of them.
chain()
This returns the certificate chain in this object.
key()
This return the private key in this object.
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.