openssl-extensions 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,4 @@
1
+ require 'openssl-extensions'
2
+
1
3
  module OpenSSLExtensions::SSL
2
4
  end
@@ -1,3 +1,4 @@
1
+ require 'openssl-extensions'
1
2
  require 'openssl-extensions/ssl'
2
3
  require 'openssl-extensions/x509/certificate_chain'
3
4
 
@@ -1,3 +1,3 @@
1
1
  module OpenSSLExtensions
2
- Version = '0.0.8'
2
+ Version = '0.0.9'
3
3
  end
@@ -1,2 +1,4 @@
1
+ require 'openssl-extensions'
2
+
1
3
  module OpenSSLExtensions::X509
2
4
  end
@@ -1,3 +1,4 @@
1
+ require 'openssl-extensions'
1
2
  require 'openssl-extensions/x509'
2
3
 
3
4
  ##
@@ -1,3 +1,4 @@
1
+ require 'openssl-extensions'
1
2
  require 'openssl-extensions/x509'
2
3
  require 'openssl-extensions/x509/authority_key_identifier'
3
4
 
@@ -1,3 +1,4 @@
1
+ require 'openssl-extensions'
1
2
  require 'openssl-extensions/x509'
2
3
  require 'openssl-extensions/x509/certificate'
3
4
 
@@ -1,3 +1,4 @@
1
+ require 'openssl-extensions'
1
2
  require 'openssl-extensions/x509'
2
3
 
3
4
  ##
@@ -20,6 +21,10 @@ module OpenSSLExtensions::X509::Name
20
21
  read_entry_by_oid('C')
21
22
  end
22
23
 
24
+ def email
25
+ read_entry_by_oid('emailAddress')
26
+ end
27
+
23
28
  def locality
24
29
  read_entry_by_oid('L')
25
30
  end
@@ -1,3 +1,4 @@
1
+ require 'openssl-extensions'
1
2
  require 'openssl-extensions/x509'
2
3
 
3
4
  ##
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openssl-extensions
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nathaniel Bibler
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-18 00:00:00 -05:00
18
+ date: 2010-12-07 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency