@Override
    void addCertToPath(X509Certificate cert,
                       LinkedList<X509Certificate> certPathList)
    {
        certPathList.addFirst(cert);
    }
@ Override void addCertToPath ( X509Certificate cert , LinkedList < X509Certificate > certPathList ) { certPathList . addFirst ( cert ) ; }
Adds the certificate to the certPathList

@param cert the certificate to be added
@param certPathList the certification path list