#ifndef NOKOGIRI_EXT_XMLSEC_XMLSECRB_H #define NOKOGIRI_EXT_XMLSEC_XMLSECRB_H #include "common.h" #include #include #include #include #include #include #include #include #include #include #include #include // TODO(awong): Support non-gcc and non-clang compilers. #define EXTENSION_EXPORT __attribute__((visibility("default"))) VALUE sign(VALUE self, VALUE rb_opts); VALUE verify_with(VALUE self, VALUE rb_opts); VALUE encrypt_with_key(VALUE self, VALUE rb_rsa_key_name, VALUE rb_rsa_key, VALUE rb_opts); VALUE decrypt_with_key(VALUE self, VALUE rb_key_name, VALUE rb_key); VALUE set_id_attribute(VALUE self, VALUE rb_attr_name); VALUE get_id(VALUE self, VALUE rb_id); void Init_Nokogiri_ext(void); extern VALUE rb_cNokogiri_XML_Document; extern VALUE rb_eSigningError; extern VALUE rb_eVerificationError; extern VALUE rb_eKeystoreError; extern VALUE rb_eEncryptionError; extern VALUE rb_eDecryptionError; #endif // NOKOGIRI_EXT_XMLSEC_XMLSECRB_H