NAME
Mail::BIMI::VMC::Cert - Class to model a VMC Cert
VERSION
version 3.20210512
DESCRIPTION
Class for representing, retrieving, validating, and processing a VMC Certificate
INPUTS
These values are used as inputs for lookups and verifications, they are typically set by the caller based on values found in the message being processed
ascii_lines
is=rw required
Raw data of the Cert contents
ATTRIBUTES
These values are derived from lookups and verifications made based upon the input values, it is however possible to override these with other values should you wish to, for example, validate a record before it is published in DNS, or validate an Indicator which is only available locally
chain
is=rw required
Back reference to the chain
errors
is=rw
filename
is=rw
Filename of temporary file containing the cert
index
is=rw required
Index of this certificate in the chain
indicator_asn
is=rw
Parsed ASN data for the embedded Indicator
is_valid
is=rw
Is this a valid Cert?
is_valid_to_root
is=rw
Could we validate this certificate to the root certs, set by Mail::BIMI::VMC::Chain->is_valid
validated_by
is=rw
Root and/or intermediate certificate in the chain used to verify this certificate
validated_by_id
is=rw
Index of cert which validated this cert
verifier
is=rw
Crypt::OpenSSL::Verify object for the Certificate
warnings
is=rw
x509_object
is=rw
Crypt::OpenSSL::X509 object for the Certificate
CONSUMES
EXTENDS
METHODS
is_expired()
Return true if this cert has expired
has_valid_usage()
Return true if this VMC has a valid usage extension for BIMI
full_chain()
The full chain of this certificate as verified to root
REQUIRES
AUTHOR
Marc Bradshaw <marc@marcbradshaw.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2020 by Marc Bradshaw.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.