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

com.dyadicsec.pkcs11.CK_RSA_PKCS_OAEP_PARAMS 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

There is a newer version: 42761
Show newest version
package com.dyadicsec.pkcs11;

import com.dyadicsec.cryptoki.CK;

/**
 * Created by valery.osheter on 18-Apr-16.
 */
public final class CK_RSA_PKCS_OAEP_PARAMS extends CK_MECHANISM
{
    public int hashAlg;
    public int mgf;
    public int source;
    public byte[] sourceData = null;

    public CK_RSA_PKCS_OAEP_PARAMS()
    {
    }

    public CK_RSA_PKCS_OAEP_PARAMS(int hashAlg, int mgf, byte[] sourceData)
    {
        super(CK.CKM_RSA_PKCS_OAEP);
        this.hashAlg = hashAlg;
        this.mgf = mgf;
        this.source = 1; //CKZ_DATA_SPECIFIED
        this.sourceData = sourceData;
    }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy