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

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 - 2025 Weber Informatics LLC | Privacy Policy