Microsoft's identity platform uses the kty parameter for the encryption family, alg is omitted. This PR gives the ability to set a defaultAlgorithm when alg is not included.
Also passing in correct value to openssl_pkey_get_details() so it won't crash.
Microsoft's identity platform uses the kty parameter for the encryption family, alg is omitted. This PR gives the ability to set a defaultAlgorithm when
alg
is not included.Also passing in correct value to openssl_pkey_get_details() so it won't crash.
Resolves #172