Get the subject’s key identifier from the subjectKeyIdentifier exteension, as described in RFC5280 Section 4.2.1.2.
Returns the binary String
key identifier or nil or raises ASN1::ASN1Error
.
Indicates whether this DH
instance has a public key associated with it or not. The public key may be retrieved with DH#pub_key.
Indicates whether this DSA
instance has a public key associated with it or not. The public key may be retrieved with DSA#public_key
.
Returns whether this EC
instance has a public key. The public key (EC::Point
) can be retrieved with EC#public_key
.
The return value is always true
since every private key is also a public key.
Sets the list of available TLSv1.3 cipher suites for this context.
Sets the verification flags to the context. This overrides the default value set by Store#flags=
.
See also the man page X509_VERIFY_PARAM_set_flags(3).
Sets the default flags used by certificate chain verification performed with the Store
.
flags consists of zero or more of the constants defined in OpenSSL::X509
with name V_FLAG_* or’ed together.
OpenSSL::X509::StoreContext#flags=
can be used to change the flags for a single verification operation.
See also the man page X509_VERIFY_PARAM_set_flags(3).
Restricts this gem dependencies file to the given ruby version
.
You may also provide engine:
and engine_version:
options to restrict this gem dependencies file to a particular ruby engine and its engine version. This matching is performed by using the RUBY_ENGINE and RUBY_ENGINE_VERSION constants.
Enables the flags on the BN
object. Currently, the flags argument can contain zero of OpenSSL::BN::CONSTTIME
.
def ensure_keyword
: () -> String
Arguments used when building gems