定義済み定数
PHP Manual

キーの型

OPENSSL_KEYTYPE_RSA ( integer )
OPENSSL_KEYTYPE_DSA ( integer )
OPENSSL_KEYTYPE_DH ( integer )

定義済み定数
PHP Manual