Name
SPVM::Net::SSLeay::ASN1_GENERALIZEDTIME - ASN1_GENERALIZEDTIME Data Structure in OpenSSL
Description
Net::SSLeay::ASN1_GENERALIZEDTIME class in SPVM represents ASN1_GENERALIZEDTIME
data structure in OpenSSL
Usage
use Net::SSLeay::ASN1_GENERALIZEDTIME;
Class Methods
new
static method new : Net::SSLeay::ASN1_GENERALIZEDTIME ();
Calls native ASN1_GENERALIZEDTIME_new function, creates a new Net::SSLeay::ASN1_GENERALIZEDTIME object, sets the pointer value of the object to the return value of the native function, and returns the new object.
Exceptions:
If ASN1_GENERALIZEDTIME_new failed, an exception is thrown with eval_error_id
set to the basic type ID of Net::SSLeay::Error class.
Instance Methods
set
static method set : void ($t : long);
Calls native ASN1_GENERALIZEDTIME_set function given the pointer value of the instance, $t.
Exceptions:
If ASN1_GENERALIZEDTIME_new failed, an exception is thrown with eval_error_id
set to the basic type ID of Net::SSLeay::Error class.
check
method check : int ();
Calls native ASN1_GENERALIZEDTIME_check function given the pointer value of the instance, and returns its return value.
method print : int ($b : Net::SSLeay::BIO);
Calls native ASN1_GENERALIZEDTIME_print function given $b, the pointer value of the instance.
Exceptions:
If ASN1_GENERALIZEDTIME_print failed, an exception is thrown with eval_error_id
set to the basic type ID of Net::SSLeay::Error class.
DESTROY
method DESTROY : void ();
Calls native ASN1_GENERALIZEDTIME_free function given the pointer value of the instance unless no_free
flag of the instance is a true value.
See Also
Copyright & License
Copyright (c) 2024 Yuki Kimoto
MIT License