Class: Sigstore::Internal::X509::Extension::KeyUsage
- Inherits:
-
Sigstore::Internal::X509::Extension
- Object
- Sigstore::Internal::X509::Extension
- Sigstore::Internal::X509::Extension::KeyUsage
- Defined in:
- lib/sigstore/internal/x509.rb
Instance Attribute Summary collapse
-
#crl_sign ⇒ Object
readonly
Returns the value of attribute crl_sign.
-
#data_encipherment ⇒ Object
readonly
Returns the value of attribute data_encipherment.
-
#decipher_only ⇒ Object
readonly
Returns the value of attribute decipher_only.
-
#digital_signature ⇒ Object
readonly
Returns the value of attribute digital_signature.
-
#encipher_only ⇒ Object
readonly
Returns the value of attribute encipher_only.
-
#key_agreement ⇒ Object
readonly
Returns the value of attribute key_agreement.
-
#key_cert_sign ⇒ Object
readonly
Returns the value of attribute key_cert_sign.
-
#key_encipherment ⇒ Object
readonly
Returns the value of attribute key_encipherment.
-
#non_repudiation ⇒ Object
readonly
Returns the value of attribute non_repudiation.
Instance Method Summary collapse
Methods inherited from Sigstore::Internal::X509::Extension
#critical?, #initialize, #shift_bitstring, #shift_value
Constructor Details
This class inherits a constructor from Sigstore::Internal::X509::Extension
Instance Attribute Details
#crl_sign ⇒ Object (readonly)
Returns the value of attribute crl_sign.
222 223 224 |
# File 'lib/sigstore/internal/x509.rb', line 222 def crl_sign @crl_sign end |
#data_encipherment ⇒ Object (readonly)
Returns the value of attribute data_encipherment.
222 223 224 |
# File 'lib/sigstore/internal/x509.rb', line 222 def data_encipherment @data_encipherment end |
#decipher_only ⇒ Object (readonly)
Returns the value of attribute decipher_only.
222 223 224 |
# File 'lib/sigstore/internal/x509.rb', line 222 def decipher_only @decipher_only end |
#digital_signature ⇒ Object (readonly)
Returns the value of attribute digital_signature.
222 223 224 |
# File 'lib/sigstore/internal/x509.rb', line 222 def digital_signature @digital_signature end |
#encipher_only ⇒ Object (readonly)
Returns the value of attribute encipher_only.
222 223 224 |
# File 'lib/sigstore/internal/x509.rb', line 222 def encipher_only @encipher_only end |
#key_agreement ⇒ Object (readonly)
Returns the value of attribute key_agreement.
222 223 224 |
# File 'lib/sigstore/internal/x509.rb', line 222 def key_agreement @key_agreement end |
#key_cert_sign ⇒ Object (readonly)
Returns the value of attribute key_cert_sign.
222 223 224 |
# File 'lib/sigstore/internal/x509.rb', line 222 def key_cert_sign @key_cert_sign end |
#key_encipherment ⇒ Object (readonly)
Returns the value of attribute key_encipherment.
222 223 224 |
# File 'lib/sigstore/internal/x509.rb', line 222 def key_encipherment @key_encipherment end |
#non_repudiation ⇒ Object (readonly)
Returns the value of attribute non_repudiation.
222 223 224 |
# File 'lib/sigstore/internal/x509.rb', line 222 def non_repudiation @non_repudiation end |
Instance Method Details
#parse_value(value) ⇒ Object
225 226 227 228 229 |
# File 'lib/sigstore/internal/x509.rb', line 225 def parse_value(value) @digital_signature, @non_repudiation, @key_encipherment, @data_encipherment, @key_agreement, @key_cert_sign, @crl_sign, @encipher_only, @decipher_only = shift_bitstring(value) end |