#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_with_key(VALUE self, VALUE rb_opts); VALUE sign_with_certificate(VALUE self, VALUE rb_opts); VALUE verify_signature_with_rsa_key(VALUE self, VALUE rb_rsa_key); VALUE verify_signature_with_named_keys(VALUE self, VALUE rb_keys); VALUE verify_signature_with_certificates(VALUE self, VALUE rb_certs); 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); 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