Name

SPVM::Net::SSLeay::OCSP_REQUEST - OCSP_REQUEST Data Structure in OpenSSL

Description

Net::SSLeay::OCSP_REQUEST class in SPVM represents OCSP_REQUEST data structure in OpenSSL.

Usage

use Net::SSLeay::OCSP_REQUEST;

Fields

ocsp_certids_list

has ocsp_certids_list : List of Net::SSLeay::OCSP_CERTID;

A list of Net::SSLeay::OCSP_CERTID objects.

Class Method

new

static method new : Net::SSLeay::OCSP_REQUEST ($options : object[] = undef);

Calls native OCSP_REQUEST_new function, creates a new Net::SSLeay::OCSP_REQUEST object, sets the pointer value of the new object to the return value of the native function, calls "init" method, and returns the new object.

Exceptions:

If OCSP_REQUEST_new failed, an exception is thrown with eval_error_id set to the basic type ID of Net::SSLeay::Error class.

Instance Methods

init

protected method init : void ($options : object[] = undef);

Creates a List, and sets "ocsp_certids_list" field to it.

DESTROY

method DESTROY : void ();

Calls native OCSP_REQUEST_free function given the pointer value of the instance if no_free flag of the instance is not a true value.

See Also

Copyright & License

Copyright (c) 2024 Yuki Kimoto

MIT License