Name

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

Description

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

Usage

use Net::SSLeay::ASN1_STRING;

Instance Methods

length

method length : int ();

Calls native ASN1_STRING_length function, and returns its return value.

get0_data

method get0_data : string ();

Calls native ASN1_STRING_get0_data function, converts its return value to a string which length is the return value of native ASN1_STRING_length function, and returns the string. =head2 DESTROY

method DESTROY : void ();

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