
org.spongycastle.cert.jcajce.CertHelper Maven / Gradle / Ivy
Go to download
Spongy Castle is a package-rename (org.bouncycastle.* to org.spongycastle.*) of Bouncy Castle
intended for the Android platform. Android unfortunately ships with a stripped-down version of
Bouncy Castle, which prevents easy upgrades - Spongy Castle overcomes this and provides a full,
up-to-date version of the Bouncy Castle cryptographic libs.
package org.spongycastle.cert.jcajce;
import java.security.NoSuchProviderException;
import java.security.cert.CertificateException;
import java.security.cert.CertificateFactory;
abstract class CertHelper
{
public CertificateFactory getCertificateFactory(String type)
throws NoSuchProviderException, CertificateException
{
return createCertificateFactory(type);
}
protected abstract CertificateFactory createCertificateFactory(String type)
throws CertificateException, NoSuchProviderException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy