PHP 8.4.2 Released!

Key types

OPENSSL_KEYTYPE_RSA (int)
RSA key type.
OPENSSL_KEYTYPE_DSA (int)
DSA key type.
OPENSSL_KEYTYPE_DH (int)
DH (Diffie-Hellman) key type.
OPENSSL_KEYTYPE_EC (int)
Elliptic curve key type.
OPENSSL_KEYTYPE_X25519 (int)
X25519 curve key type. This constant is only available when PHP is compiled with OpenSSL 3.0+.
OPENSSL_KEYTYPE_ED25519 (int)
Ed25519 curve key type. This constant is only available when PHP is compiled with OpenSSL 3.0+.
OPENSSL_KEYTYPE_X448 (int)
X448 curve key type. This constant is only available when PHP is compiled with OpenSSL 3.0+.
OPENSSL_KEYTYPE_ED448 (int)
Ed448 curve key type. This constant is only available when PHP is compiled with OpenSSL 3.0+.
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top