Is there a reason this OWASP sample doesn't deal with non-RSA keys?

https://www.owasp.org/index.php/Certificate_and_Public_Key_Pinning#Android