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