Sends “close notify” to the peer and tries to shut down the SSL
connection gracefully.
If sync_close
is set to true
, the underlying IO
is also closed.
Reads length bytes from the SSL
connection. If a pre-allocated buffer is provided the data will be written into it.
Writes string to the SSL
connection.
Returns the verified chain.
See also the man page X509_STORE_CTX_set0_verified_chain(3).
Returns the challenge string associated with this SPKI
.
str - the challenge string to be set for this instance
Sets the challenge to be associated with the SPKI
. May be used by the server, e.g. to prevent replay.
Attach the comments to their respective locations in the tree by mutating the parse result.
Lazily create a code units cache for the associated encoding.
Lazily create a code units cache for the associated encoding.
Enumerate the +SvcParam+s in this list.
Iterates over files in the tarball yielding each entry
A hint run by the resolver to allow the Set
to fetch data for DependencyRequests reqs
.
Prefetches reqs
in all sets.
Does this dependency request match spec
?
NOTE: match?
only matches prerelease versions when dependency
is a prerelease dependency.
Prefetches specifications from the git repositories in this set.
The prefetch
method may be overridden, but this is not necessary. This default implementation does nothing, which is suitable for sets where looking up a specification is cheap (such as installed gems).
When overridden, the prefetch
method should look up specifications matching reqs
.
The silent download reporter does not display filename
or care about filesize
because it is silent.
Tells the download reporter that the file_name
is being fetched. The other arguments are ignored.
Like Enumerable#chunk_while
, but chains operation to be lazy-evaluated.
Enumerate all values in this registry path.
For each value it yields key, type and data.
key is a String
which contains name of key. type is a type contant kind of Win32::Registry::REG_* data is the value of this key.
Enumerate all subkeys.
For each subkey it yields subkey and wtime.
subkey is String
which contains name of subkey. wtime is last write time as FILETIME (64-bit integer). (see Registry.wtime2time
)
See Zlib::GzipReader
documentation for a description.