org.bouncycastle.eac.operator.jcajce.NamedEACHelper 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.operator.jcajce;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.Signature;
class NamedEACHelper
extends EACHelper
{
private final String providerName;
NamedEACHelper(String providerName)
{
this.providerName = providerName;
}
protected Signature createSignature(String type)
throws NoSuchProviderException, NoSuchAlgorithmException
{
return Signature.getInstance(type, providerName);
}
}