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

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

/**
 * Created by valery.osheter on 18-Apr-16.
 */
public class CK_MECHANISM
{
    int mechanism;
    byte[] buffer = null;

    public CK_MECHANISM()
    {
    }

    public CK_MECHANISM(int mechanism)
    {
        this.mechanism = mechanism;
    }

    public CK_MECHANISM(int mechanism, byte[] buffer)
    {
        this.mechanism = mechanism;
        this.buffer = buffer;
    }

    public int getType()
    {
        return mechanism;
    }

    public void setBuffer(byte[] buffer)
    {
        this.buffer = buffer;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy