com.dyadicsec.pkcs11.DYCK_FPE_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 19-Jun-17.
*/
public final class DYCK_FPE_PARAMS extends CK_MECHANISM
{
public static final int DYCK_FPE_EMAIL = 1;
public static final int DYCK_FPE_CREDIT_CARD = 2;
public static final int DYCK_FPE_US_PHONE = 3;
public static final int DYCK_FPE_SSN = 4;
public static final int DYCK_FPE_STRING = 5;
public DYCK_FPE_PARAMS()
{
super(CK.DYCKM_FPE);
}
public DYCK_FPE_PARAMS(int mode, char[] format, int maxLen)
{
super(CK.DYCKM_FPE);
this.mode = mode;
this.format = format;
this.maxLen = maxLen;
}
public int mode;
public char[] format = null;
public int maxLen;
}