org.bouncycastle.eac.jcajce.ProviderEACHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polaris-all Show documentation
Show all versions of polaris-all Show documentation
All in one project for polaris-java
package org.bouncycastle.eac.jcajce;
import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException;
import java.security.Provider;
class ProviderEACHelper
implements EACHelper
{
private final Provider provider;
ProviderEACHelper(Provider provider)
{
this.provider = provider;
}
public KeyFactory createKeyFactory(String type)
throws NoSuchAlgorithmException
{
return KeyFactory.getInstance(type, provider);
}
}