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