openssl_x509_checkpurpose()
to Check Certificate Purposeopenssl_x509_checkpurpose()
to Check Certificate PurposeThe openssl_x509_checkpurpose()
function checks if a certificate can be used for a specified purpose. This is useful for validating certificate usage.