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 $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_get_text_by_NID functions given $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.

DESTROY

method DESTROY : void ();

Frees native X509_NAME object by calling native X509_free function if no_free flag of the instance is not a true value.

See Also

Copyright & License

Copyright (c) 2024 Yuki Kimoto

MIT License