com.dyadicsec.pkcs11.CKPRFKey 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;
import com.dyadicsec.advapi.SDEKey;
public class CKPRFKey
{
private final SDEKey sdeKey;
private CKPRFKey(SDEKey sdeKey)
{
this.sdeKey = sdeKey;
}
public void destroy()
{
sdeKey.destroy();
}
public static CKPRFKey generate(Slot slot, String keyName, String unused)
{
return new CKPRFKey(SDEKey.generate(slot.partition, keyName));
}
}