Name
SPVM::Net::SSLeay::ASN1_INTEGER - ASN1_INTEGER Data Structure in OpenSSL
Description
Net::SSLeay::ASN1_INTEGER class in SPVM represents ASN1_INTEGER data structure in OpenSSL
Usage
use Net::SSLeay::ASN1_INTEGER;
Class Methods
new
static method new : Net::SSLeay::ASN1_INTEGER ();
Calls native ASN1_INTEGER_new function, creates a new Net::SSLeay::ASN1_INTEGER object, sets the pointer value of the object to the return value of the native function, and returns the new object.
Instance Methods
get_int64
method get_int64 : long ();
Calls native ASN1_INTEGER_get_int64 function given an appropriate argument, the pointer value of the instance, and returns the output value of the first argument. Exceptions:
If ASN1_INTEGER_get_int64 failed, an exception is thrown with eval_error_id
set to the basic type ID of Net::SSLeay::Error class.
set_int64
method set_int64 : void ($r : long);
Calls native ASN1_INTEGER_set_int64 function given the pointer value of the instance, $r.
Exceptions:
If ASN1_INTEGER_set_int64 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_INTEGER_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