Sha256: 1aa84f99d494670675a4e567dcd23337e1f3d731893cfb82b772147fbef11d85

Contents?: true

Size: 1.35 KB

Versions: 2

Compression:

Stored size: 1.35 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>

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nokogiri-xmlsec-me-harder-0.9.1 ext/nokogiri_ext_xmlsec/xmlsecrb.h
nokogiri-xmlsec-me-harder-0.9.0 ext/nokogiri_ext_xmlsec/xmlsecrb.h