def request_params
      jwt_assertion = SelfSignedJwtFactory
                      .new(@client_id, @authority.token_endpoint)
                      .create_and_sign_jwt(@certificate, @private_key)
      ClientAssertion.new(client_id, jwt_assertion).request_params
    end
def request_params
      jwt_assertion = SelfSignedJwtFactory
                      .new(@client_id, @authority.token_endpoint)
                      .create_and_sign_jwt(@certificate, @private_key)
      ClientAssertion.new(client_id, jwt_assertion).request_params
    end
Creates a new ClientAssertionCertificate.

 @param Authority authority
   The authority object that will recognize this certificate.
 @param [String] client_id
   The client id of the calling application.
 @param [OpenSSL::PKCS12] pkcs12_file
   The PKCS12 file containing the certificate and private key.
 The relevant parameters from this credential for OAuth.