Name
SPVM::Net::SSLeay::X509_NAME - X509_NAME Data Structure in OpenSSL
Description
Net::SSLeay::X509_NAME class in SPVM represents X509_NAME data structure in OpenSSL
Usage
use Net::SSLeay::X509_NAME;
Instance Methods
oneline
method oneline : string ();
Calls native X509_NAME_oneline functions given the pointer value of the instance, $buf with NULL, and returns its return value.
get_text_by_NID
method get_text_by_NID : int ($nid : int, $buf : mutable string, $len : int = -1);
Calls native X509_NAME_get_text_by_NID functions given the pointer value of the instance, $nid, $buf, $len, and returns its return value.
If $buf is defined and $len is a negative value, $len is set to the length of $buf.
get_entry
method get_entry : Net::SSLeay::X509_NAME_ENTRY ($loc : int);
Calls native X509_NAME_get_entry functions given the pointer value of the instance, $loc, creates a new Net::SSLeay::X509_NAME_ENTRY object, sets the pointer value of the new object to the return value of the native function, sets no_free
flag of the new object to 1, and returns the new object.
get_index_by_NID
method get_index_by_NID : int ($nid : int, $lastpos : int);
Calls native X509_NAME_get_index_by_NID functions given the pointer value of the instance, $nid, $lastpos, and returns its return value.
entry_count
method entry_count : int ();
Calls native X509_NAME_entry_count functions given the pointer value of the instance, and returns its return value.
get_index_by_OBJ
method get_index_by_OBJ : int ($obj : Net::SSLeay::ASN1_OBJECT, $lastpos : int);
Calls native X509_NAME_get_index_by_OBJ functions given the pointer value of the instance, the pointer value of $obj, $lastpos, and returns its return value.
DESTROY
method DESTROY : void ();
Calls native X509_NAME_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