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

com.dyadicsec.provider.CCMParameterSpec 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.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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy