![JAR search and dependency download from the Maven repository](/logo.png)
com.unbound.client.DeriveMode 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.unbound.client;
import com.dyadicsec.cryptoki.CK;
import com.unbound.kmip.KMIP;
public final class DeriveMode
{
private final Integer kmipAlg;
private final int pkcs11Mech;
public Integer getKmipAlg() { return kmipAlg; }
public int getPkcs11Mech() { return pkcs11Mech; }
private DeriveMode(Integer kmipAlg, int pkcs11Mech)
{
this.kmipAlg = kmipAlg;
this.pkcs11Mech = pkcs11Mech;
}
public static DeriveMode ECDH = new DeriveMode(KMIP.CryptographicAlgorithm.ECDH, CK.CKM_ECDH1_DERIVE);
public static DeriveMode ECPRF = new DeriveMode(KMIP.CryptographicAlgorithm.DyPRF, CK.DYCKM_PRF);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy