r509 0.8 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/bin/r509 +73 -26
- data/doc/R509.html +4 -4
- data/doc/R509/Cert.html +15 -9
- data/doc/R509/Cert/Extensions.html +3 -38
- data/doc/R509/Cert/Extensions/AuthorityInfoAccess.html +3 -5
- data/doc/R509/Cert/Extensions/AuthorityKeyIdentifier.html +3 -3
- data/doc/R509/Cert/Extensions/BasicConstraints.html +3 -4
- data/doc/R509/Cert/Extensions/CrlDistributionPoints.html +3 -4
- data/doc/R509/Cert/Extensions/ExtendedKeyUsage.html +3 -4
- data/doc/R509/Cert/Extensions/KeyUsage.html +3 -4
- data/doc/R509/Cert/Extensions/SubjectAlternativeName.html +3 -6
- data/doc/R509/Cert/Extensions/SubjectKeyIdentifier.html +3 -3
- data/doc/R509/CertificateAuthority.html +3 -3
- data/doc/R509/CertificateAuthority/Signer.html +39 -17
- data/doc/R509/Config.html +3 -3
- data/doc/R509/Config/CaConfig.html +27 -22
- data/doc/R509/Config/CaConfigPool.html +6 -4
- data/doc/R509/Config/CaProfile.html +3 -8
- data/doc/R509/Config/SubjectItemPolicy.html +3 -5
- data/doc/R509/Crl.html +3 -3
- data/doc/R509/Crl/Administrator.html +3 -7
- data/doc/R509/Crl/Parser.html +3 -4
- data/doc/R509/Csr.html +21 -15
- data/doc/R509/IOHelpers.html +3 -3
- data/doc/R509/MessageDigest.html +3 -5
- data/doc/R509/NameSanitizer.html +3 -3
- data/doc/R509/Ocsp.html +3 -3
- data/doc/R509/Ocsp/Request.html +3 -3
- data/doc/R509/Ocsp/Request/Nonce.html +3 -3
- data/doc/R509/Ocsp/Response.html +3 -3
- data/doc/R509/OidMapper.html +3 -3
- data/doc/R509/PrivateKey.html +7 -5
- data/doc/R509/R509Error.html +3 -3
- data/doc/R509/Spki.html +12 -9
- data/doc/R509/Subject.html +3 -3
- data/doc/R509/Validity.html +3 -3
- data/doc/R509/Validity/Checker.html +3 -3
- data/doc/R509/Validity/DefaultChecker.html +3 -3
- data/doc/R509/Validity/DefaultWriter.html +3 -3
- data/doc/R509/Validity/Status.html +3 -6
- data/doc/R509/Validity/Writer.html +3 -3
- data/doc/_index.html +4 -4
- data/doc/file.README.html +3 -3
- data/doc/file.r509.html +3 -3
- data/doc/frames.html +1 -1
- data/doc/index.html +3 -3
- data/doc/js/app.js +24 -18
- data/doc/{methods_list.html → method_list.html} +1 -1
- data/doc/top-level-namespace.html +3 -3
- data/lib/r509.rb +0 -0
- data/lib/r509/cert.rb +0 -0
- data/lib/r509/cert/extensions.rb +0 -0
- data/lib/r509/certificateauthority.rb +0 -0
- data/lib/r509/config.rb +0 -0
- data/lib/r509/crl.rb +0 -0
- data/lib/r509/csr.rb +0 -0
- data/lib/r509/exceptions.rb +0 -0
- data/lib/r509/io_helpers.rb +0 -0
- data/lib/r509/messagedigest.rb +0 -0
- data/lib/r509/ocsp.rb +0 -0
- data/lib/r509/oidmapper.rb +0 -0
- data/lib/r509/privatekey.rb +0 -0
- data/lib/r509/spki.rb +0 -0
- data/lib/r509/subject.rb +0 -0
- data/lib/r509/validity.rb +0 -0
- data/lib/r509/version.rb +1 -1
- data/r509.yaml +0 -0
- data/spec/cert/extensions_spec.rb +0 -0
- data/spec/cert_spec.rb +0 -0
- data/spec/certificate_authority_spec.rb +0 -0
- data/spec/config_spec.rb +0 -0
- data/spec/crl_spec.rb +0 -0
- data/spec/csr_spec.rb +0 -0
- data/spec/fixtures.rb +0 -0
- data/spec/fixtures/cert1.der +0 -0
- data/spec/fixtures/cert1.pem +0 -0
- data/spec/fixtures/cert1_public_key_modulus.txt +0 -0
- data/spec/fixtures/cert3.p12 +0 -0
- data/spec/fixtures/cert3.pem +0 -0
- data/spec/fixtures/cert3_key.pem +0 -0
- data/spec/fixtures/cert3_key_des3.pem +0 -0
- data/spec/fixtures/cert4.pem +0 -0
- data/spec/fixtures/cert5.pem +0 -0
- data/spec/fixtures/cert6.pem +0 -0
- data/spec/fixtures/cert_expired.pem +0 -0
- data/spec/fixtures/cert_not_yet_valid.pem +0 -0
- data/spec/fixtures/cert_san.pem +0 -0
- data/spec/fixtures/cert_san2.pem +0 -0
- data/spec/fixtures/config_pool_test_minimal.yaml +0 -0
- data/spec/fixtures/config_test.yaml +0 -0
- data/spec/fixtures/config_test_engine_key.yaml +0 -0
- data/spec/fixtures/config_test_engine_no_key_name.yaml +0 -0
- data/spec/fixtures/config_test_minimal.yaml +0 -0
- data/spec/fixtures/config_test_password.yaml +0 -0
- data/spec/fixtures/config_test_various.yaml +0 -0
- data/spec/fixtures/crl_list_file.txt +0 -0
- data/spec/fixtures/crl_with_reason.pem +0 -0
- data/spec/fixtures/csr1.der +0 -0
- data/spec/fixtures/csr1.pem +0 -0
- data/spec/fixtures/csr1_key.der +0 -0
- data/spec/fixtures/csr1_key.pem +0 -0
- data/spec/fixtures/csr1_key_encrypted_des3.pem +0 -0
- data/spec/fixtures/csr1_newlines.pem +0 -0
- data/spec/fixtures/csr1_no_begin_end.pem +0 -0
- data/spec/fixtures/csr1_public_key_modulus.txt +0 -0
- data/spec/fixtures/csr2.pem +0 -0
- data/spec/fixtures/csr2_key.pem +0 -0
- data/spec/fixtures/csr3.pem +0 -0
- data/spec/fixtures/csr4.pem +0 -0
- data/spec/fixtures/csr_dsa.pem +0 -0
- data/spec/fixtures/csr_invalid_signature.pem +0 -0
- data/spec/fixtures/dsa_key.pem +0 -0
- data/spec/fixtures/key4.pem +0 -0
- data/spec/fixtures/key4_encrypted_des3.pem +0 -0
- data/spec/fixtures/missing_key_identifier_ca.cer +0 -0
- data/spec/fixtures/missing_key_identifier_ca.key +0 -0
- data/spec/fixtures/ocsptest.r509.local.pem +0 -0
- data/spec/fixtures/ocsptest.r509.local_ocsp_request.der +0 -0
- data/spec/fixtures/ocsptest2.r509.local.pem +0 -0
- data/spec/fixtures/second_ca.cer +0 -0
- data/spec/fixtures/second_ca.key +0 -0
- data/spec/fixtures/spkac.der +0 -0
- data/spec/fixtures/spkac.txt +0 -0
- data/spec/fixtures/spkac_dsa.txt +0 -0
- data/spec/fixtures/stca.pem +0 -0
- data/spec/fixtures/stca_ocsp_request.der +0 -0
- data/spec/fixtures/stca_ocsp_response.der +0 -0
- data/spec/fixtures/test1.csr +0 -0
- data/spec/fixtures/test_ca.cer +0 -0
- data/spec/fixtures/test_ca.key +0 -0
- data/spec/fixtures/test_ca.p12 +0 -0
- data/spec/fixtures/test_ca_des3.key +0 -0
- data/spec/fixtures/test_ca_ocsp.cer +0 -0
- data/spec/fixtures/test_ca_ocsp.key +0 -0
- data/spec/fixtures/test_ca_ocsp.p12 +0 -0
- data/spec/fixtures/test_ca_ocsp_chain.txt +0 -0
- data/spec/fixtures/test_ca_ocsp_response.der +0 -0
- data/spec/fixtures/test_ca_subroot.cer +0 -0
- data/spec/fixtures/test_ca_subroot.key +0 -0
- data/spec/fixtures/test_ca_subroot_ocsp.cer +0 -0
- data/spec/fixtures/test_ca_subroot_ocsp.key +0 -0
- data/spec/fixtures/test_ca_subroot_ocsp_response.der +0 -0
- data/spec/fixtures/unknown_oid.csr +0 -0
- data/spec/message_digest_spec.rb +0 -0
- data/spec/ocsp_spec.rb +0 -0
- data/spec/oid_mapper_spec.rb +0 -0
- data/spec/privatekey_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- data/spec/spki_spec.rb +0 -0
- data/spec/subject_spec.rb +0 -0
- data/spec/validity_spec.rb +0 -0
- metadata +22 -3
data/README.md
CHANGED
|
File without changes
|
data/Rakefile
CHANGED
|
File without changes
|
data/bin/r509
CHANGED
|
@@ -3,13 +3,34 @@ require 'rubygems'
|
|
|
3
3
|
require 'r509'
|
|
4
4
|
require 'r509/version'
|
|
5
5
|
require 'openssl'
|
|
6
|
+
require 'trollop'
|
|
7
|
+
|
|
8
|
+
opts = Trollop::options do
|
|
9
|
+
opt :interactive, "Interactive CSR/self-signed certificate generation. Overrides all flags other than keyout and out."
|
|
10
|
+
opt :subject, "X509 subject / delimited. Example: /CN=test.com/O=Org/C=US/ST=Illinois/L=Chicago", :type => :string
|
|
11
|
+
opt :message_digest, "Message digest to use. sha1, sha256, sha512, md5", :type => :string, :default => 'sha1'
|
|
12
|
+
opt :duration, "Self-sign the certificate with the duration (in days) specified.", :type => :integer
|
|
13
|
+
opt :bits, "Bit length of generated key.", :type => :integer, :default => 2048
|
|
14
|
+
opt :keyout, "File name to save generated key.", :type => :string
|
|
15
|
+
opt :out, "File name to save generated CSR or self-signed certificate", :type => :string
|
|
16
|
+
version "r509 #{R509::VERSION}"
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
if opts[:interactive] == true or opts[:subject].nil? then
|
|
20
|
+
print "CSR Bit Strength (2048):"
|
|
21
|
+
bit_strength = gets.chomp
|
|
22
|
+
bit_strength = (bit_strength.to_i > 0)? bit_strength.to_i : 2048
|
|
23
|
+
|
|
24
|
+
print "Message Digest (sha1):"
|
|
25
|
+
md = gets.chomp
|
|
26
|
+
md = case md
|
|
27
|
+
when 'sha1' then 'sha1'
|
|
28
|
+
when 'sha256' then 'sha256'
|
|
29
|
+
when 'sha512' then 'sha512'
|
|
30
|
+
when 'md5' then 'md5'
|
|
31
|
+
else 'sha1'
|
|
32
|
+
end
|
|
6
33
|
|
|
7
|
-
subject = OpenSSL::X509::Name.new
|
|
8
|
-
selfsign = 0
|
|
9
|
-
if ARGV[0].nil? then
|
|
10
|
-
puts "Interactive CSR generation using r509 v#{R509::VERSION}."
|
|
11
|
-
puts ""
|
|
12
|
-
puts "You can also call with 1-3 args (string subject, int bit_strength, [optional days selfsign length])"
|
|
13
34
|
subject = []
|
|
14
35
|
print "C (US): "
|
|
15
36
|
c = gets.chomp
|
|
@@ -42,45 +63,71 @@ if ARGV[0].nil? then
|
|
|
42
63
|
print "SAN Domains (comma separated):"
|
|
43
64
|
san_domains = []
|
|
44
65
|
san_domains = gets.chomp.split(',').collect { |domain| domain.strip }
|
|
45
|
-
csr = R509::Csr.new(
|
|
66
|
+
csr = R509::Csr.new(
|
|
67
|
+
:subject => subject,
|
|
68
|
+
:bit_strength => bit_strength,
|
|
69
|
+
:san_names => san_domains,
|
|
70
|
+
:message_digest => md
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
selfsign = 0
|
|
46
74
|
print "Self-signed cert duration in days (null disables self-sign):"
|
|
47
75
|
selfsign_input = gets.chomp
|
|
48
76
|
if selfsign_input.to_i > 0
|
|
49
77
|
selfsign = selfsign_input.to_i
|
|
50
78
|
end
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
ARGV[0].split('/').each { |item|
|
|
79
|
+
elsif not opts[:subject].nil?
|
|
80
|
+
subject = OpenSSL::X509::Name.new
|
|
81
|
+
opts[:subject].chomp.split('/').each { |item|
|
|
55
82
|
if item != '' then
|
|
56
83
|
value = item.split('=')
|
|
57
84
|
subject.add_entry(value[0],value[1])
|
|
58
85
|
end
|
|
59
86
|
}
|
|
60
|
-
bit_strength =
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
selfsign = ARGV[2].to_i
|
|
68
|
-
end
|
|
69
|
-
csr = R509::Csr.new(:subject => subject, :bit_strength => bit_strength)
|
|
87
|
+
bit_strength = opts[:bits]
|
|
88
|
+
csr = R509::Csr.new(
|
|
89
|
+
:subject => subject,
|
|
90
|
+
:bit_strength => bit_strength,
|
|
91
|
+
:message_digest => opts[:message_digest]
|
|
92
|
+
)
|
|
93
|
+
selfsign = opts[:duration] || 0
|
|
70
94
|
end
|
|
71
95
|
|
|
72
96
|
if selfsign > 0
|
|
73
97
|
ca = R509::CertificateAuthority::Signer.new
|
|
74
|
-
cert = ca.selfsign(
|
|
75
|
-
|
|
76
|
-
|
|
98
|
+
cert = ca.selfsign(
|
|
99
|
+
:csr => csr,
|
|
100
|
+
:not_after => Time.now.to_i+86400*selfsign,
|
|
101
|
+
:message_digest => opts[:message_digest]
|
|
102
|
+
)
|
|
103
|
+
if opts[:keyout].nil?
|
|
104
|
+
puts csr.key.to_pem
|
|
105
|
+
else
|
|
106
|
+
File.open(opts[:keyout], 'w') {|f| f.write(csr.key.to_pem) }
|
|
107
|
+
end
|
|
108
|
+
if opts[:out].nil?
|
|
109
|
+
puts cert.to_pem
|
|
110
|
+
else
|
|
111
|
+
File.open(opts[:out], 'w') {|f| f.write(cert.to_pem) }
|
|
112
|
+
end
|
|
113
|
+
|
|
77
114
|
puts cert.subject
|
|
78
115
|
if not cert.san_names.empty?
|
|
79
116
|
puts "SAN(s): "+cert.san_names.join(", ")
|
|
80
117
|
end
|
|
81
118
|
else
|
|
82
|
-
|
|
83
|
-
|
|
119
|
+
if opts[:keyout].nil?
|
|
120
|
+
puts csr.key.to_pem
|
|
121
|
+
else
|
|
122
|
+
File.open(opts[:keyout], 'w') {|f| f.write(csr.key.to_pem) }
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
if opts[:out].nil?
|
|
126
|
+
puts csr.to_pem
|
|
127
|
+
else
|
|
128
|
+
File.open(opts[:out], 'w') {|f| f.write(csr.to_pem) }
|
|
129
|
+
end
|
|
130
|
+
|
|
84
131
|
puts csr.subject
|
|
85
132
|
if not csr.san_names.empty?
|
|
86
133
|
puts "SAN(s): "+csr.san_names.join(", ")
|
data/doc/R509.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: R509
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.2.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -129,7 +129,7 @@ support.</p>
|
|
|
129
129
|
|
|
130
130
|
</div>
|
|
131
131
|
</dt>
|
|
132
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.8</span><span class='tstring_end'>"</span></span></pre></dd>
|
|
132
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.8.1</span><span class='tstring_end'>"</span></span></pre></dd>
|
|
133
133
|
|
|
134
134
|
</dl>
|
|
135
135
|
|
|
@@ -145,9 +145,9 @@ support.</p>
|
|
|
145
145
|
</div>
|
|
146
146
|
|
|
147
147
|
<div id="footer">
|
|
148
|
-
Generated on
|
|
148
|
+
Generated on Thu Nov 8 14:19:24 2012 by
|
|
149
149
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
150
|
-
0.8.
|
|
150
|
+
0.8.2.1 (ruby-1.9.3).
|
|
151
151
|
</div>
|
|
152
152
|
|
|
153
153
|
</body>
|
data/doc/R509/Cert.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: R509::Cert
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.2.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -1231,9 +1231,11 @@ encryption (des3).</p>
|
|
|
1231
1231
|
<span class="default">
|
|
1232
1232
|
|
|
1233
1233
|
</span>
|
|
1234
|
-
|
|
1234
|
+
|
|
1235
|
+
— <div class='inline'>
|
|
1235
1236
|
<p>a cert</p>
|
|
1236
1237
|
</div>
|
|
1238
|
+
|
|
1237
1239
|
</li>
|
|
1238
1240
|
|
|
1239
1241
|
<li>
|
|
@@ -1242,11 +1244,13 @@ encryption (des3).</p>
|
|
|
1242
1244
|
<span class="default">
|
|
1243
1245
|
|
|
1244
1246
|
</span>
|
|
1245
|
-
|
|
1247
|
+
|
|
1248
|
+
— <div class='inline'>
|
|
1246
1249
|
<p>optional private key to supply. either an unencrypted PEM/DER string or an
|
|
1247
1250
|
R509::PrivateKey object (use the latter if you need password/hardware
|
|
1248
1251
|
support)</p>
|
|
1249
1252
|
</div>
|
|
1253
|
+
|
|
1250
1254
|
</li>
|
|
1251
1255
|
|
|
1252
1256
|
<li>
|
|
@@ -1255,9 +1259,11 @@ support)</p>
|
|
|
1255
1259
|
<span class="default">
|
|
1256
1260
|
|
|
1257
1261
|
</span>
|
|
1258
|
-
|
|
1262
|
+
|
|
1263
|
+
— <div class='inline'>
|
|
1259
1264
|
<p>a PKCS12 object containing both key and cert</p>
|
|
1260
1265
|
</div>
|
|
1266
|
+
|
|
1261
1267
|
</li>
|
|
1262
1268
|
|
|
1263
1269
|
<li>
|
|
@@ -1266,9 +1272,11 @@ support)</p>
|
|
|
1266
1272
|
<span class="default">
|
|
1267
1273
|
|
|
1268
1274
|
</span>
|
|
1269
|
-
|
|
1275
|
+
|
|
1276
|
+
— <div class='inline'>
|
|
1270
1277
|
<p>password for PKCS12 or private key (if supplied)</p>
|
|
1271
1278
|
</div>
|
|
1279
|
+
|
|
1272
1280
|
</li>
|
|
1273
1281
|
|
|
1274
1282
|
</ul>
|
|
@@ -1357,7 +1365,6 @@ support)</p>
|
|
|
1357
1365
|
|
|
1358
1366
|
|
|
1359
1367
|
<span id=""></span>
|
|
1360
|
-
<span id="cert-instance_method"></span>
|
|
1361
1368
|
<div class="method_details first">
|
|
1362
1369
|
<h3 class="signature first" id="cert-instance_method">
|
|
1363
1370
|
|
|
@@ -1401,7 +1408,6 @@ support)</p>
|
|
|
1401
1408
|
|
|
1402
1409
|
|
|
1403
1410
|
<span id=""></span>
|
|
1404
|
-
<span id="key-instance_method"></span>
|
|
1405
1411
|
<div class="method_details ">
|
|
1406
1412
|
<h3 class="signature " id="key-instance_method">
|
|
1407
1413
|
|
|
@@ -3945,9 +3951,9 @@ IO-like object.</p>
|
|
|
3945
3951
|
</div>
|
|
3946
3952
|
|
|
3947
3953
|
<div id="footer">
|
|
3948
|
-
Generated on
|
|
3954
|
+
Generated on Thu Nov 8 14:19:26 2012 by
|
|
3949
3955
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
3950
|
-
0.8.
|
|
3956
|
+
0.8.2.1 (ruby-1.9.3).
|
|
3951
3957
|
</div>
|
|
3952
3958
|
|
|
3953
3959
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: R509::Cert::Extensions
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.2.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -97,41 +97,6 @@
|
|
|
97
97
|
|
|
98
98
|
<h2>Constant Summary</h2>
|
|
99
99
|
|
|
100
|
-
<dl class="constants">
|
|
101
|
-
|
|
102
|
-
<dt id="DNS_REGEX-constant" class="">DNS_REGEX =
|
|
103
|
-
<div class="docstring">
|
|
104
|
-
<div class="discussion">
|
|
105
|
-
|
|
106
|
-
<p>Regexes for OpenSSL's parsed values</p>
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
<div class="tags">
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
</div>
|
|
115
|
-
</dt>
|
|
116
|
-
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>DNS:([^,\n]+)</span><span class='regexp_end'>/</span></span></pre></dd>
|
|
117
|
-
|
|
118
|
-
<dt id="IP_ADDRESS_REGEX-constant" class="">IP_ADDRESS_REGEX =
|
|
119
|
-
|
|
120
|
-
</dt>
|
|
121
|
-
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>IP:([^,\n]+)</span><span class='regexp_end'>/</span></span></pre></dd>
|
|
122
|
-
|
|
123
|
-
<dt id="URI_REGEX-constant" class="">URI_REGEX =
|
|
124
|
-
|
|
125
|
-
</dt>
|
|
126
|
-
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>URI:([^,\n]+)</span><span class='regexp_end'>/</span></span></pre></dd>
|
|
127
|
-
|
|
128
|
-
<dt id="R509_EXTENSION_CLASSES-constant" class="">R509_EXTENSION_CLASSES =
|
|
129
|
-
|
|
130
|
-
</dt>
|
|
131
|
-
<dd><pre class="code"><span class='const'>Set</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span></pre></dd>
|
|
132
|
-
|
|
133
|
-
</dl>
|
|
134
|
-
|
|
135
100
|
|
|
136
101
|
|
|
137
102
|
|
|
@@ -351,9 +316,9 @@ implementation are ignored (see #get_unknown_extensions).</p>
|
|
|
351
316
|
</div>
|
|
352
317
|
|
|
353
318
|
<div id="footer">
|
|
354
|
-
Generated on
|
|
319
|
+
Generated on Thu Nov 8 14:19:25 2012 by
|
|
355
320
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
356
|
-
0.8.
|
|
321
|
+
0.8.2.1 (ruby-1.9.3).
|
|
357
322
|
</div>
|
|
358
323
|
|
|
359
324
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: R509::Cert::Extensions::AuthorityInfoAccess
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.2.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -290,7 +290,6 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
|
290
290
|
|
|
291
291
|
|
|
292
292
|
<span id=""></span>
|
|
293
|
-
<span id="ca_issuers_uris-instance_method"></span>
|
|
294
293
|
<div class="method_details first">
|
|
295
294
|
<h3 class="signature first" id="ca_issuers_uris-instance_method">
|
|
296
295
|
|
|
@@ -334,7 +333,6 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
|
334
333
|
|
|
335
334
|
|
|
336
335
|
<span id=""></span>
|
|
337
|
-
<span id="ocsp_uris-instance_method"></span>
|
|
338
336
|
<div class="method_details ">
|
|
339
337
|
<h3 class="signature " id="ocsp_uris-instance_method">
|
|
340
338
|
|
|
@@ -382,9 +380,9 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
|
382
380
|
</div>
|
|
383
381
|
|
|
384
382
|
<div id="footer">
|
|
385
|
-
Generated on
|
|
383
|
+
Generated on Thu Nov 8 14:19:29 2012 by
|
|
386
384
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
387
|
-
0.8.
|
|
385
|
+
0.8.2.1 (ruby-1.9.3).
|
|
388
386
|
</div>
|
|
389
387
|
|
|
390
388
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: R509::Cert::Extensions::AuthorityKeyIdentifier
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.2.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -139,9 +139,9 @@ contents.</p>
|
|
|
139
139
|
</div>
|
|
140
140
|
|
|
141
141
|
<div id="footer">
|
|
142
|
-
Generated on
|
|
142
|
+
Generated on Thu Nov 8 14:19:28 2012 by
|
|
143
143
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
144
|
-
0.8.
|
|
144
|
+
0.8.2.1 (ruby-1.9.3).
|
|
145
145
|
</div>
|
|
146
146
|
|
|
147
147
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: R509::Cert::Extensions::BasicConstraints
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.2.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -310,7 +310,6 @@ CA certificates.</p>
|
|
|
310
310
|
|
|
311
311
|
|
|
312
312
|
<span id=""></span>
|
|
313
|
-
<span id="path_length-instance_method"></span>
|
|
314
313
|
<div class="method_details first">
|
|
315
314
|
<h3 class="signature first" id="path_length-instance_method">
|
|
316
315
|
|
|
@@ -473,9 +472,9 @@ CA certificates.</p>
|
|
|
473
472
|
</div>
|
|
474
473
|
|
|
475
474
|
<div id="footer">
|
|
476
|
-
Generated on
|
|
475
|
+
Generated on Thu Nov 8 14:19:28 2012 by
|
|
477
476
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
478
|
-
0.8.
|
|
477
|
+
0.8.2.1 (ruby-1.9.3).
|
|
479
478
|
</div>
|
|
480
479
|
|
|
481
480
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: R509::Cert::Extensions::CrlDistributionPoints
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.2.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -259,7 +259,6 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
|
259
259
|
|
|
260
260
|
|
|
261
261
|
<span id=""></span>
|
|
262
|
-
<span id="crl_uris-instance_method"></span>
|
|
263
262
|
<div class="method_details first">
|
|
264
263
|
<h3 class="signature first" id="crl_uris-instance_method">
|
|
265
264
|
|
|
@@ -307,9 +306,9 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
|
307
306
|
</div>
|
|
308
307
|
|
|
309
308
|
<div id="footer">
|
|
310
|
-
Generated on
|
|
309
|
+
Generated on Thu Nov 8 14:19:29 2012 by
|
|
311
310
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
312
|
-
0.8.
|
|
311
|
+
0.8.2.1 (ruby-1.9.3).
|
|
313
312
|
</div>
|
|
314
313
|
|
|
315
314
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: R509::Cert::Extensions::ExtendedKeyUsage
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.2.1
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -435,7 +435,6 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
|
435
435
|
|
|
436
436
|
|
|
437
437
|
<span id=""></span>
|
|
438
|
-
<span id="allowed_uses-instance_method"></span>
|
|
439
438
|
<div class="method_details first">
|
|
440
439
|
<h3 class="signature first" id="allowed_uses-instance_method">
|
|
441
440
|
|
|
@@ -771,9 +770,9 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
|
771
770
|
</div>
|
|
772
771
|
|
|
773
772
|
<div id="footer">
|
|
774
|
-
Generated on
|
|
773
|
+
Generated on Thu Nov 8 14:19:28 2012 by
|
|
775
774
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
776
|
-
0.8.
|
|
775
|
+
0.8.2.1 (ruby-1.9.3).
|
|
777
776
|
</div>
|
|
778
777
|
|
|
779
778
|
</body>
|