@Override
    public KeyInfo getKeyInfo() {
        val serverCredential = getCredential();
        return generateKeyInfoForCredential(serverCredential);
    }
Class responsible for loading a private key from a JKS keystore and returning
the corresponding {@link Credential} opensaml object.

@author Misagh Moayyed
@since 1.8.0
pac4j-saml/src/main/java/org/pac4j/saml/crypto/KeyStoreCredentialProvider.java