org.postgresql.ssl.PrivateKeyFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mogdb-jdbc Show documentation
Show all versions of mogdb-jdbc Show documentation
Java JDBC driver for MogDB
package io.mogdb.ssl;
import java.security.PrivateKey;
import javax.security.auth.callback.PasswordCallback;
/**
*
* Provide PrivateKey from EncryptedKey
*/
public interface PrivateKeyFactory {
public PrivateKey getPrivateKeyFromEncryptedKey(byte[] data, PasswordCallback pwdcb) throws Exception;
}