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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy