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

com.dyadicsec.pkcs11.CK_GCM_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 13-Mar-17.
 */
public final class CK_GCM_PARAMS extends CK_MECHANISM
{

    public byte[] iv;
    public byte[] authData;
    public int tagBits;

    public CK_GCM_PARAMS() {
        super(CK.CKM_AES_GCM);
    }

    public CK_GCM_PARAMS(byte[] iv, byte[] authData, int tagBits)
    {
        super(CK.CKM_AES_GCM);
        init(iv, authData, tagBits);
    }

    public void init(byte[] iv, byte[] authData, int tagBits)
    {
        this.iv = iv;
        this.authData = authData;
        this.tagBits = tagBits;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy