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