Class: R509::Cert::Extensions::InhibitAnyPolicy
- Inherits:
-
OpenSSL::X509::Extension
- Object
- OpenSSL::X509::Extension
- R509::Cert::Extensions::InhibitAnyPolicy
- Defined in:
- lib/r509/cert/extensions.rb
Overview
Implements the InhibitAnyPolicy certificate extension, with methods to provide access to the component and meaning of the extension's contents.
Constant Summary
- OID =
friendly name for CP OID
"inhibitAnyPolicy"
Instance Attribute Summary (collapse)
-
- (Object) skip_certs
readonly
Returns the value of attribute skip_certs.
Instance Method Summary (collapse)
-
- (InhibitAnyPolicy) initialize(*args)
constructor
A new instance of InhibitAnyPolicy.
Constructor Details
- (InhibitAnyPolicy) initialize(*args)
A new instance of InhibitAnyPolicy
539 540 541 542 543 544 545 546 |
# File 'lib/r509/cert/extensions.rb', line 539 def initialize(*args) super(*args) # id-ce-inhibitAnyPolicy OBJECT IDENTIFIER ::= { id-ce 54 } # InhibitAnyPolicy ::= SkipCerts # SkipCerts ::= INTEGER (0..MAX) @skip_certs = R509::ASN1.get_extension_payload(self) # returns a non-negative integer end |
Instance Attribute Details
- (Object) skip_certs (readonly)
Returns the value of attribute skip_certs
537 538 539 |
# File 'lib/r509/cert/extensions.rb', line 537 def skip_certs @skip_certs end |