![JAR search and dependency download from the Maven repository](/logo.png)
com.unbound.client.Session 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.unbound.common.crypto.EC;
import com.unbound.provider.KeyParameters;
import javax.security.auth.x500.X500Principal;
import java.security.cert.X509Certificate;
import java.security.interfaces.ECPrivateKey;
import java.security.interfaces.RSAPrivateCrtKey;
import java.security.interfaces.RSAPublicKey;
import java.util.ArrayList;
public interface Session
{
Partition getPartition();
void release();
SecretKeyObject generateSecretKey(String name, ObjectType type, int bitSize, KeyParameters kp);
SecretKeyObject importSecretKey(String name, ObjectType type, byte[] keyValue, KeyParameters kp);
EDDSAPrivateKeyObject generateEddsaKey(String name, KeyParameters kp);
RSAPrivateKeyObject generateRsaKey(String name, int bitSize, KeyParameters kp);
ECPrivateKeyObject generateEcKey(String name, EC.Curve curve, KeyParameters kp);
RSAPublicKeyObject importPubRsaKey(String name, RSAPublicKey keyValue, KeyParameters kp);
RSAPrivateKeyObject importRsaKey(String name, RSAPrivateCrtKey keyValue, KeyParameters kp);
ECPrivateKeyObject importEcKey(String name, ECPrivateKey keyValue, KeyParameters kp);
ECPRFKey generateEcprfKey(String name, KeyParameters kp);
CertObject importCert(String name, X509Certificate cert);
BaseObject locate(ObjectType type, LocateParams params);
ArrayList locate(ObjectType type);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy