Top Level Namespace

Defined Under Namespace

Modules: Sepa

Schemas collapse

WSDL_PATH =

The path where the WSDL-files for different banks are located

"#{ROOT_PATH}/lib/sepa/wsdl".freeze
SCHEMA_PATH =

The path where the xml schemas are located

"#{ROOT_PATH}/lib/sepa/xml_schemas".freeze
SCHEMA_FILE =

Path to the WSDL schema

"#{ROOT_PATH}/lib/sepa/xml_schemas/wsdl.xml".freeze

Templates collapse

AR_TEMPLATE_PATH =

Path to the application request templates

"#{ROOT_PATH}/lib/sepa/xml_templates/application_request".freeze
SOAP_TEMPLATE_PATH =

Path to the soap templates

"#{ROOT_PATH}/lib/sepa/xml_templates/soap".freeze

Certificates collapse

CERTIFICATE_PATH =

Path to where the certificates are located

"#{ROOT_PATH}/lib/sepa/certificates/".freeze
NORDEA_ROOT_CERTIFICATE =

Nordea's root certificate as an OpenSSL::X509::Certificate

OpenSSL::X509::Certificate.new nordea_root_certificate_string
DANSKE_ROOT_CERTIFICATE =

Danske Bank's root certificate as an OpenSSL::X509::Certificate

OpenSSL::X509::Certificate.new danske_root_certificate_string
OP_ROOT_CERTIFICATE =

OP's root certificate as an OpenSSL::X509::Certificate

OpenSSL::X509::Certificate.new op_root_certificate_string
OpenSSL::X509::Certificate.new samlink_root_certificate_string
OpenSSL::X509::Certificate.new samlink_certificate_string

Commands collapse

STANDARD_COMMANDS =

Commands described in the standard

i(
  download_file
  download_file_list
  
  upload_file
).freeze
SUPPORTED_COMMANDS =
STANDARD_COMMANDS +
i(
  create_certificate
  get_bank_certificate
  get_certificate
  renew_certificate
  get_service_certificates
)

XML Namespaces collapse

DSIG =

Namespace used by XML digital signature

'http://www.w3.org/2000/09/xmldsig#'.freeze
OASIS_UTILITY =

Oasis utility namespace used in soap header for security purposes

'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'.freeze
OASIS_SECEXT =

Oasis secext namespace used in soap header for security purposes

'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'.freeze
XML_DATA =

Namespace used in application requests and application responses

'http://bxd.fi/xmldata/'.freeze
BXD =

Namespace of the node that contains application request or application response

'http://model.bxd.fi'.freeze
XMLENC =

Namespace for XML encryption syntax and processing

'http://www.w3.org/2001/04/xmlenc#'.freeze
ENVELOPE =

Soap envelope namespace

'http://schemas.xmlsoap.org/soap/envelope/'.freeze
NORDEA_PKI =

Namespace used in Nordea's certificate requests and responses soap

'http://bxd.fi/CertificateService'.freeze
NORDEA_XML_DATA =

Namespace used in Nordea's certificate application requests and responses

'http://filetransfer.nordea.com/xmldata/'.freeze
DANSKE_PKI =

Namespace used in Danske Bank's certificate services application requests and responses

'http://danskebank.dk/PKI/PKIFactoryService/elements'.freeze
DANSKE_PKIF =

Namespace used in Danske Bank's certificate services soap

'http://danskebank.dk/PKI/PKIFactoryService'.freeze
OP_PKI =

Namespace used in OP's certificate requests and responses soap

'http://mlp.op.fi/OPCertificateService'.freeze
OP_XML_DATA =

Namespace used in OP's certificate application requests and responses

'http://op.fi/mlp/xmldata/'.freeze
'http://mlp.op.fi/OPCertificateService'.freeze

Constant Summary collapse

ROOT_PATH =
TODO:

Put all constants under Sepa namespace

The root path of where the gem is installed

File.expand_path('../../', __FILE__)