import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.security.GeneralSecurityException;
+import java.security.NoSuchAlgorithmException;
+import java.security.cert.CertificateEncodingException;
import java.security.cert.CertificateException;
import java.security.cert.CertificateFactory;
import java.security.cert.X509Certificate;
return this == getParent();
}
+ public String getFingerprint(String algorithm) throws CertificateEncodingException, NoSuchAlgorithmException {
+ return Certificate.getFingerprint(cert, algorithm);
+ }
+
public static synchronized CACertificate[] getAll() {
return Arrays.copyOf(instances, instances.length);
}
-
}