Sha256: 93b00ce3f600ed2c40db47dcfb5a3b894881201f6eb1205bd56ff0fb268c651c

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

#ifndef NOKOGIRI_EXT_XMLSEC_XMLSECRB_H
#define NOKOGIRI_EXT_XMLSEC_XMLSECRB_H

#include "common.h"

#include <ruby.h>

#include <libxml/tree.h>
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <libxml/xmlstring.h>

#include <libxslt/xslt.h>

#include <xmlsec/xmlsec.h>
#include <xmlsec/xmltree.h>
#include <xmlsec/xmldsig.h>
#include <xmlsec/xmlenc.h>
#include <xmlsec/templates.h>
#include <xmlsec/crypto.h>
#include <xmlsec/errors.h>

// 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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nokogiri-xmlsec-instructure-0.10.1 ext/nokogiri_ext_xmlsec/xmlsecrb.h
nokogiri-xmlsec-instructure-0.10.0 ext/nokogiri_ext_xmlsec/xmlsecrb.h
nokogiri-xmlsec-instructure-0.9.7 ext/nokogiri_ext_xmlsec/xmlsecrb.h
nokogiri-xmlsec-instructure-0.9.6 ext/nokogiri_ext_xmlsec/xmlsecrb.h
nokogiri-xmlsec-instructure-0.9.5 ext/nokogiri_ext_xmlsec/xmlsecrb.h