Class OpenID::SimpleSign
In: lib/gapps_openid.rb
Parent: Object

Basic implementation of the XML Simple Sign algorithm. Currently only supports RSA-SHA1

Methods

Constants

C14N_RAW_OCTETS = 'http://docs.oasis-open.org/xri/xrd/2009/01#canonicalize-raw-octets'
SIGN_RSA_SHA1 = 'http://www.w3.org/2000/09/xmldsig#rsa-sha1'
NAMESPACES = { 'ds' => 'http://www.w3.org/2000/09/xmldsig#', 'xrds' => 'xri://xrds'

Public Class methods

Extracts the signer‘s certificates from the XML

Initialize the store

Verifies the chain of trust for the signing certificates

Verifies the signature of the doc, returning the CN of the signer if valid

[Validate]