com.dyadicsec.provider.KeyGenSpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unbound-java-provider Show documentation
Show all versions of unbound-java-provider Show documentation
This is a collection of JAVA libraries that implement Unbound cryptographic classes for JAVA provider, PKCS11 wrapper, cryptoki, and advapi
package com.dyadicsec.provider;
import java.security.spec.AlgorithmParameterSpec;
/**
* Created by valery.osheter on 15-Mar-17.
*/
public class KeyGenSpec implements AlgorithmParameterSpec
{
final KeyParameters params;
final AlgorithmParameterSpec original;
final int bitSize;
public KeyGenSpec(AlgorithmParameterSpec original, KeyParameters params)
{
this.original = original;
this.params = params;
this.bitSize = 0;
}
public KeyGenSpec(int bitSize, KeyParameters params)
{
this.original = null;
this.params = params;
this.bitSize = bitSize;
}
}