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.
- data/lib/openssl-extensions/ssl.rb +2 -0
- data/lib/openssl-extensions/ssl/ssl_socket.rb +1 -0
- data/lib/openssl-extensions/version.rb +1 -1
- data/lib/openssl-extensions/x509.rb +2 -0
- data/lib/openssl-extensions/x509/authority_key_identifier.rb +1 -0
- data/lib/openssl-extensions/x509/certificate.rb +1 -0
- data/lib/openssl-extensions/x509/certificate_chain.rb +1 -0
- data/lib/openssl-extensions/x509/name.rb +5 -0
- data/lib/openssl-extensions/x509/request.rb +1 -0
- metadata +4 -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
|
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:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
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-
|
18
|
+
date: 2010-12-07 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|