All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dyadicsec.provider.KeyGenSpec Maven / Gradle / Ivy

Go to download

This is a collection of JAVA libraries that implement Unbound cryptographic classes for JAVA provider, PKCS11 wrapper, cryptoki, and advapi

The newest version!
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy