Copy a GlobalVariableOperatorWriteNode
node
Copy a InstanceVariableAndWriteNode
node
Copy a InstanceVariableOperatorWriteNode
node
Copy a InstanceVariableOrWriteNode
node
Copy a LocalVariableOperatorWriteNode
node
Returns the code fragment that corresponds to this AST.
Note that this is an API for ruby internal use, debugging, and research. Do not use this for any other purpose. The compatibility is not guaranteed.
Also note that this API may return an incomplete code fragment that does not parse; for example, a here document following an expression may be dropped.
Returns a copy of the current source string, that was used to construct this Parser
.
Indicates whether this DH
instance has a private key associated with it or not. The private key may be retrieved with DH#priv_key.
Verifies whether the signature is valid given the message digest input. It does so by validating sig
using the public key of this DSA
instance.
Deprecated in version 3.0. Consider using PKey::PKey#sign_raw
and PKey::PKey#verify_raw
instead.
digest
A message digest of the original input data to be signed.
sig
A DSA signature value.
Indicates whether this DSA
instance has a private key associated with it or not. The private key may be retrieved with DSA#private_key.
Returns whether this EC
instance has a private key. The private key (BN
) can be retrieved with EC#private_key
.
Does this keypair contain a private key?
Writes string to the SSL
connection.
Performs the certificate verification using the parameters set to stctx.
See also the man page X509_verify_cert(3).
Sets the purpose of the context. This overrides the default value set by Store#purpose=
.
See also the man page X509_VERIFY_PARAM_set_purpose(3).
Verifies the signature of the certificate, with the public key key. key must be an instance of OpenSSL::PKey
.