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

com.unbound.client.CryptoOper 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.unbound.client;

public class CryptoOper
{
  protected Session session = null;
  public KeyObject keyObject = null;

  protected void checkSession()
  {
    if (session==null) session = keyObject.getPartition().acquireSession();
  }

  protected void releaseSession()
  {
    if (session!=null) session.release();
    session = null;
  }

  public void reset()
  {
    releaseSession();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy