The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mojo::SAML::Document::Signature

DESCRIPTION

Represents an Signature XML-Sig tag

ATTRIBUTES

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

key_info

Optional. An instance of Mojo::SAML::Document::KeyInfo to be included in the signature.

references

An array reference of ID attributes of elements to be referenced (and thus signed) by the signature. Must not be empty at render time.

template

A template specific to the document type.

METHODS

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

before_render

Enforces that "references" is not empty at render time.