blob: 129356c2847b62e854e1a6e3206cffec458b8fbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package org.spongycastle.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);
}
}
|