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 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 PEM_read_bio_X509 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 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 read_bio_X509_CRL 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.
See Also
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License