OptionalaadOptionalalgoan OPENSSL_ALGO_* value or a digest name
Optionalb64base64 of the bytes to sign or verify
OptionalbitsRSA modulus size for pkeyNew, in bits
Optionalciphercipher: the lowercased OpenSSL cipher name
OptionalcurvepkeyNew for EC: an OpenSSL curve name such as prime256v1
Optionaldigestx509Fingerprint: the digest name
Optionaldircipher: 'enc' or 'dec'
OptionalivOptionaljwka JWK, for pkeyGetPublic when the caller has a key set rather than a PEM
Optionalkeythe PEM key; private to sign, public or a certificate to verify
Optionalkeycipher: exact-length key, IV, AAD and tag, base64
OptionalopOptionalpadpublicEncrypt / privateDecrypt: an OPENSSL_*_PADDING value
Optionalpaddingcipher: false for OPENSSL_ZERO_PADDING
Optionalpassphrasethe passphrase an encrypted private PEM was written with
Optionalpeerderive: the peer's public key as PEM
Optionalsigbase64 of the signature, for verify
OptionaltagOptionaltagOptionaltypepkeyNew: 'rsa' or 'ec'
what the PHP half sends