public class KeyFactory extends Object
| Constructor and Description |
|---|
KeyFactory() |
| Modifier and Type | Method and Description |
|---|---|
static CVCPublicKey |
createInstance(PublicKey pubKey,
String algorithmName,
AuthorizationRole authRole)
Constructs instance from a PublicKey and a hash algorithm
|
static CVCPublicKey |
createInstance(PublicKey pubKey,
String algorithmName,
AuthorizationRoleEnum authRole)
Constructs instance from a PublicKey and a hash algorithm.
|
public static CVCPublicKey createInstance(PublicKey pubKey, String algorithmName, AuthorizationRole authRole) throws ConstructionException
pubKey - algorithmName - @see AlgorithmUtilauthRole - role of certificate holder (affects creation of PublicKeyEC instances)ConstructionExceptionpublic static CVCPublicKey createInstance(PublicKey pubKey, String algorithmName, AuthorizationRoleEnum authRole) throws ConstructionException
ConstructionExceptionCopyright © 2017. All rights reserved.