Class: R509::Cert::Extensions::CrlDistributionPoints
- Inherits:
-
OpenSSL::X509::Extension
- Object
- OpenSSL::X509::Extension
- R509::Cert::Extensions::CrlDistributionPoints
- Defined in:
- lib/r509/cert/extensions.rb
Overview
Implements the CrlDistributionPoints certificate extension, with methods to provide access to the components and meaning of the extension's contents.
Constant Summary
- OID =
"crlDistributionPoints"
Instance Attribute Summary (collapse)
-
- (Object) crl_uris
readonly
An array of the CRL URIs, if any.
Instance Method Summary (collapse)
-
- (CrlDistributionPoints) initialize(*args)
constructor
See OpenSSL::X509::Extension#initialize.
Constructor Details
- (CrlDistributionPoints) initialize(*args)
See OpenSSL::X509::Extension#initialize
254 255 256 257 258 |
# File 'lib/r509/cert/extensions.rb', line 254 def initialize(*args) super(*args) @crl_uris = self.value.scan( URI_REGEX ).map { |match| match[0] } end |
Instance Attribute Details
- (Object) crl_uris (readonly)
An array of the CRL URIs, if any
251 252 253 |
# File 'lib/r509/cert/extensions.rb', line 251 def crl_uris @crl_uris end |