Name

SPVM::Net::SSLeay::PEM - OpenSSL PEM data structure

Description

Net::SSLeay::PEM class in SPVM represents OpenSSL PEM data structure.

Usage

use Net::SSLeay::PEM;

Class Methods

read_bio_X509

static method read_bio_X509 : Net::SSLeay::X509 ($bp : Net::SSLeay::BIO);

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

Exceptions:

The BIO $bp must be defined. Otherwise an exception is thrown.

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

read_bio_X509_CRL

static method read_bio_X509_CRL : Net::SSLeay::X509_CRL ($bp : Net::SSLeay::BIO);

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

Exceptions:

The BIO $bp must be defined. Otherwise an exception is thrown.

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

read_bio_DHparams

static method read_bio_DHparams : Net::SSLeay::DH ($bp : Net::SSLeay::BIO);

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

Exceptions:

The BIO $bp must be defined. Otherwise an exception is thrown.

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

See Also

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License