Name

SPVM::Net::SSLeay::X509_EXTENSION - X509_EXTENSION Data Structure in OpenSSL

Description

Net::SSLeay::X509_EXTENSION class in SPVM represents X509_EXTENSION data structure in OpenSSL

Usage

use Net::SSLeay::X509_EXTENSION;

Instance Methods

get_data

method get_data : Net::SSLeay::ASN1_OCTET_STRING ();

Calls native X509_EXTENSION_get_data functions given the pointer value of the instance, copies the return value of the native function, creates a new Net::SSLeay::ASN1_OCTET_STRING object, sets the pointer value of the new object to the copied value, and returns the new object.

get_object

method get_object : Net::SSLeay::ASN1_OBJECT ();

Calls native X509_EXTENSION_get_object functions given the pointer value of the instance, creates a new Net::SSLeay::ASN1_OBJECT, sets the pointer value of the new object to the return value of the native function sets no_free flag to 1, and returns the new object.

get_critical

method get_critical : int ();

Calls native X509_EXTENSION_get_critical functions given the pointer value of the instance, and returns its return value.

DESTROY

method DESTROY : void ();

Calls native X509_EXTENSION_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