Name
SPVM::Net::SSLeay::DER - Name Space for d2i_ and i2d_ prefixed functions in OpenSSL
Description
Net::SSLeay::DER class in SPVM represents a name space for d2i_ and i2d_ prefixed functions in OpenSSL.
Usage
use Net::SSLeay::DER;
Class Methods
d2i_OCSP_REQUEST
static method d2i_OCSP_REQUEST : Net::SSLeay::OCSP_REQUEST ($a_ref : Net::SSLeay::OCSP_REQUEST[], $ppin_ref : string[], $length : long);
Calls native d2i_OCSP_REQUEST function given $a_ref, $ppin_ref, $length, and creates a new Net::SSLeay::OCSP_REQUEST object, sets the pointer value of the new object to the return value of the native function, and returns the new object.
Exceptions:
$a_ref must be undef(Currently reuse feature is not available). Otherwise an exception is thrown.
$ppin_ref must be defined. Otherwise an exception is thrown. Otherwise an exception is thrown.
The length of $ppin_ref must be 1. Otherwise an exception is thrown. Otherwise an exception is thrown.
$ppin_ref at index 0 must be defined. Otherwise an exception is thrown. Otherwise an exception is thrown.
If d2i_OCSP_REQUEST failed, an exception is thrown with eval_error_id
set to the basic type ID of Net::SSLeay::Error class.
d2i_OCSP_RESPONSE
static method d2i_OCSP_RESPONSE : Net::SSLeay::OCSP_RESPONSE ($a_ref : Net::SSLeay::OCSP_RESPONSE[], $ppin_ref : string[], $length : long);
Calls native d2i_OCSP_RESPONSE function given $a_ref, $ppin_ref, $length, and creates a new Net::SSLeay::OCSP_RESPONSE object, sets the pointer value of the new object to the return value of the native function, and returns the new object.
Exceptions:
$a_ref must be undef(Currently reuse feature is not available). Otherwise an exception is thrown.
$ppin_ref must be defined. Otherwise an exception is thrown. Otherwise an exception is thrown.
The length of $ppin_ref must be 1. Otherwise an exception is thrown. Otherwise an exception is thrown.
$ppin_ref at index 0 must be defined. Otherwise an exception is thrown. Otherwise an exception is thrown.
If d2i_OCSP_RESPONSE failed, an exception is thrown with eval_error_id
set to the basic type ID of Net::SSLeay::Error class.
i2d_OCSP_REQUEST
static method i2d_OCSP_REQUEST : int ($a : Net::SSLeay::OCSP_REQUEST, $ppout_ref : string[]);
Calls native i2d_OCSP_REQUEST function given $a_ref, $ppin_ref, $length, and returns its return value.
Exceptions:
$a must be undef. Otherwise an exception is thrown.
$ppout_ref must be defined. Otherwise an exception is thrown. Otherwise an exception is thrown.
The length of $ppout_ref must be 1. Otherwise an exception is thrown. Otherwise an exception is thrown.
If i2d_OCSP_REQUEST failed, an exception is thrown with eval_error_id
set to the basic type ID of Net::SSLeay::Error class.
See Also
Copyright & License
Copyright (c) 2024 Yuki Kimoto
MIT License