php man page for openssl_pkey_get_public

Query: openssl_pkey_get_public

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

OPENSSL_PKEY_GET_PUBLIC(3)						 1						OPENSSL_PKEY_GET_PUBLIC(3)

openssl_pkey_get_public - Extract public key from certificate and prepare it for use

SYNOPSIS
resource openssl_pkey_get_public (mixed $certificate)
DESCRIPTION
openssl_get_publickey(3) extracts the public key from $certificate and prepares it for use by other functions.
PARAMETERS
o $certificate -$certificate can be one of the following: oan X.509 certificate resource oa string having the format file://path/to/file.pem. The named file must contain a PEM encoded certificate/public key (it may contain both). oA PEM formatted public key.
RETURN VALUES
Returns a positive key resource identifier on success, or FALSE on error. PHP Documentation Group OPENSSL_PKEY_GET_PUBLIC(3)
Related Man Pages
tpmtoken_import(1) - debian
certpatch(8) - debian
openssl_verify(3) - php
certpatch(8) - opendarwin
certpatch(8) - linux
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun