setServerCertificate(Certificate[]) method

Syntax

public void setServerCertificate (Certificate[] certificate) throws KeyStoreException