class XMLSecurity::SignedDocument

Included Modules

Defined in:

saml/xml_security.cr

Constructors

Instance Method Summary

Instance methods inherited from module Saml::ErrorHandling

append_error(error_msg : String, soft_override : Bool | Nil = nil) append_error, errors errors, errors_messages errors_messages, errors_messages=(errors_messages) errors_messages=, reset_errors! reset_errors!

Instance methods inherited from class XMLSecurity::BaseDocument

pem_to_der(pem : String) pem_to_der, to_s to_s

Class methods inherited from class XMLSecurity::BaseDocument

algorithm(element : XML::Node | String | Nil) algorithm, canon_algorithm(element) canon_algorithm, pem_to_der(pem : String) pem_to_der

Instance methods inherited from class XML::Node

<<(node : Node) <<, add_child(node : Node) : Nil add_child, add_element(tag_name, namespaces = {} of String => String) add_element, add_next_sibling(node : Node) add_next_sibling, add_prev_sibling(node : Node) add_prev_sibling, canonicalize(io = IO::Memory.new, mode : Mode | Nil = nil, node_set = nil, inclusive_ns : Array(String) = [] of String, comments? = false)
canonicalize(io, mode, comments?)
canonicalize(io = IO::Memory.new)
canonicalize
, canonicalize! canonicalize!

Constructor Detail

def self.new(response, errors : Array(String) = [] of String) #

[View source]

Instance Method Detail

def extract_inclusive_namespaces_for_test #

TODO limit to just tests?


[View source]
def format_certificate(cert_text : String | Nil) : String | Nil #

[View source]
def load_cert(cert_text : String | Nil) : OpenSSL::X509::Certificate | Nil #

[View source]
def signed_element_id #

[View source]
def signed_element_id=(signed_element_id : String | Nil) #

[View source]
def validate_document(idp_cert_fingerprint, soft = true, options = {} of Symbol => String | OpenSSL::X509::Certificate) #

[View source]
def validate_document_with_cert(idp_cert, soft = true) #

[View source]
def validate_signature(base64_cert, soft = true) #

[View source]