Name

SPVM::Net::SSLeay::X509_REVOKED - X509_REVOKED Data Strucuture in OpenSSL

Description

Net::SSLeay::X509_REVOKED class in SPVM represents X509_REVOKED data strucuture in OpenSSL.

Usage

use Net::SSLeay::X509_REVOKED;

Class Methods

new

static method new : Net::SSLeay::X509_REVOKED ();

Calls native X509_REVOKED_new function, creates a new Net::SSLeay::X509_REVOKED object, sets the pointer value of the object to the return value of the native function, and returns the new object.

Exceptions:

If X509_REVOKED_new failed, an exception is thrown with eval_error_id set to the basic type ID of Net::SSLeay::Error class.

Instance Methods

get0_serialNumber

method get0_serialNumber : Net::SSLeay::ASN1_INTEGER ();

Calls native X509_REVOKED_get0_serialNumber function given the pointer value of the instance, copies the return value of the native function using native ASN1_INTEGER_dup function, creates a new Net::SSLeay::ASN1_INTEGER ojbect, sets the pointer value of the new object to the native copied value, and returns the new object.

get0_revocationDate

method get0_revocationDate : Net::SSLeay::ASN1_TIME ();

Calls native X509_REVOKED_get0_revocationDate function given the pointer value of the instance, copies the return value of the native function using native ASN1_STRING_dup function, creates a new Net::SSLeay::ASN1_TIME ojbect, sets the pointer value of the new object to the native copied value, and returns the new object.

DESTROY

method DESTROY : void ();

Calls native X509_REVOKED_free function given the pointer value of the instance unless no_free flag of the instance is a true value.

See Also

Copyright & License

Copyright (c) 2024 Yuki Kimoto

MIT License