Results for: "Array"

def foo(bar, *baz); end

^^^^^^^^^

def foo((bar, baz)); end

^^^^^^^^^^

@@foo += bar

becomes

@@foo = @@foo + bar

$foo += bar

becomes

$foo = $foo + bar

@foo += bar

becomes

@foo = @foo + bar

foo += bar

becomes

foo = foo + bar

No documentation available
No documentation available

Parses the current JSON text source and returns the complete data structure as a result. It raises JSON::ParserError if fail to parse.

Creates a new DH instance from scratch by generating random parameters and a key pair.

See also OpenSSL::PKey.generate_parameters and OpenSSL::PKey.generate_key.

size

The desired key size in bits.

generator

The generator.

Creates a new DSA instance by generating a private/public key pair from scratch.

See also OpenSSL::PKey.generate_parameters and OpenSSL::PKey.generate_key.

size

The desired key size in bits.

Creates a new EC instance with a new random private and public key.

Generates an RSA keypair.

See also OpenSSL::PKey.generate_key.

size

The desired key size in bits.

exponent

An odd Integer, normally 3, 17, or 65537.

No documentation available

Returns the error code of stctx. This is typically called after verify is done, or from the verification callback set to OpenSSL::X509::Store#verify_callback=.

See also the man page X509_STORE_CTX_get_error(3).

Sets the error code of stctx. This is used by the verification callback set to OpenSSL::X509::Store#verify_callback=.

See also the man page X509_STORE_CTX_set_error(3).

Used primarily to check if an OpenSSL::X509::Certificate#public_key compares to its private key.

Example

x509 = OpenSSL::X509::Certificate.new(pem_encoded_certificate)
rsa_key = OpenSSL::PKey::RSA.new(pem_encoded_private_key)

rsa_key.compare?(x509.public_key) => true | false
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Raises an exception if any arguments given.

Raises an exception if argument is not present.

Search took: 2ms  ·  Total Results: 1482