The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mojo::SAML::Document::KeyInfo

DESCRIPTION

Represents an KeyInfo XML-Sig tag

ATTRIBUTES

Mojo::SAML::Document::KeyInfo inherits all attributes from Mojo::SAML::Document and implements the following new ones.

cert

Optional. If given, it must be an instance of Crypt::OpenSSL::X509. If not given, the tag is still generated, however, the content of the X509Certificate tag will be empty. It may later be filled in via some signing process.

name

Optional. The certificate name, used by some applications to distinguish between possible certificates.

template

A template specific to the document type.

METHODS

"Mojo::SAML::Document::KeyInfo" inherits all methods from Mojo::SAML::Document and implements the following new ones.

x509_string

If the "cert" is given, this method formats and returns it for inserting into the X509Certificate tag body.