com.dyadicsec.provider.CCMParameterSpec 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.provider;
import javax.crypto.spec.IvParameterSpec;
/**
* Created by saar.peer on 30-Jun-16.
*/
public class CCMParameterSpec extends IvParameterSpec
{
private int tagSize;
private int dataSize;
public CCMParameterSpec(byte[] iv, int tagSize, int dataSize)
{
super(iv);
this.tagSize = tagSize;
this.dataSize = dataSize;
}
public int getTagSize() {
return tagSize;
}
public int getDataSize() {
return dataSize;
}
}