class EL_STORABLE_RSA_KEY

(source code)

description

Storable RSA key

note
	description: "Storable RSA key"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2024-03-25 13:45:55 GMT (Monday 25th March 2024)"
	revision: "12"

deferred class
	EL_STORABLE_RSA_KEY

inherit
	EL_MODULE_RSA

feature {NONE} -- Implementation

	rsa_value (xdoc: EL_XML_DOC_CONTEXT; id: STRING): INTEGER_X
			--
		do
			if not id.is_empty then
				Value_xpath.put ("id", id)
			end
			Result := RSA.integer_x_from_base_64 (xdoc.query (Value_xpath.substituted))
		end

	value_xpath: EL_STRING_8_TEMPLATE
			--
		deferred
		end

end