~ubuntu-branches/ubuntu/hardy/ruby1.8/hardy-updates

« back to all changes in this revision

Viewing changes to ext/openssl/ossl_asn1.h

  • Committer: Bazaar Package Importer
  • Author(s): akira yamada
  • Date: 2007-03-13 22:11:58 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070313221158-h3oql37brlaf2go2
Tags: 1.8.6-1
* new upstream version, 1.8.6.
* libruby1.8 conflicts with libopenssl-ruby1.8 (< 1.8.6) (closes: #410018)
* changed packaging style to cdbs from dbs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Id: ossl_asn1.h 11708 2007-02-12 23:01:19Z shyouhei $
 
3
 * 'OpenSSL for Ruby' team members
 
4
 * Copyright (C) 2003
 
5
 * All rights reserved.
 
6
 */
 
7
/*
 
8
 * This program is licenced under the same licence as Ruby.
 
9
 * (See the file 'LICENCE'.)
 
10
 */
 
11
#if !defined(_OSSL_ASN1_H_)
 
12
#define _OSSL_ASN1_H_
 
13
 
 
14
/*
 
15
 * ASN1_DATE conversions
 
16
 */
 
17
VALUE asn1time_to_time(ASN1_TIME *);
 
18
time_t time_to_time_t(VALUE);
 
19
 
 
20
/*
 
21
 * ASN1_STRING conversions
 
22
 */
 
23
VALUE asn1str_to_str(ASN1_STRING *);
 
24
 
 
25
/*
 
26
 * ASN1_INTEGER conversions
 
27
 */
 
28
VALUE asn1integer_to_num(ASN1_INTEGER *);
 
29
ASN1_INTEGER *num_to_asn1integer(VALUE, ASN1_INTEGER *);
 
30
 
 
31
/*
 
32
 * ASN1 module
 
33
 */
 
34
extern VALUE mASN1;
 
35
extern VALUE eASN1Error;  
 
36
 
 
37
extern VALUE cASN1Data;
 
38
extern VALUE cASN1Primitive;
 
39
extern VALUE cASN1Constructive;
 
40
 
 
41
extern VALUE cASN1Boolean;                           /* BOOLEAN           */
 
42
extern VALUE cASN1Integer, cASN1Enumerated;          /* INTEGER           */
 
43
extern VALUE cASN1BitString;                         /* BIT STRING        */
 
44
extern VALUE cASN1OctetString, cASN1UTF8String;      /* STRINGs           */
 
45
extern VALUE cASN1NumericString, cASN1PrintableString;
 
46
extern VALUE cASN1T61String, cASN1VideotexString;
 
47
extern VALUE cASN1IA5String, cASN1GraphicString;
 
48
extern VALUE cASN1ISO64String, cASN1GeneralString;
 
49
extern VALUE cASN1UniversalString, cASN1BMPString;
 
50
extern VALUE cASN1Null;                              /* NULL              */
 
51
extern VALUE cASN1ObjectId;                          /* OBJECT IDENTIFIER */
 
52
extern VALUE cASN1UTCTime, cASN1GeneralizedTime;     /* TIME              */
 
53
extern VALUE cASN1Sequence, cASN1Set;                /* CONSTRUCTIVE      */
 
54
 
 
55
ASN1_TYPE *ossl_asn1_get_asn1type(VALUE);
 
56
 
 
57
void Init_ossl_asn1(void);
 
58
 
 
59
#endif