Package org.postgresql.ssl

# Class PKCS12KeyManager

java.lang.Object
org.postgresql.ssl.BaseX509KeyManager
org.postgresql.ssl.PKCS12KeyManager

All Implemented Interfaces:
  `KeyManager`, `X509KeyManager`

public class PKCS12KeyManager extends BaseX509KeyManager

- ## Field Summary

  ### Fields inherited from class org.postgresql.ssl.BaseX509KeyManager

  `error`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PKCS12KeyManager(String pkcsFile, CallbackHandler cbh)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `X509Certificate @Nullable []`
  `getCertificateChain(String alias)`
  `@Nullable PrivateKey`
  `getPrivateKey(String s)`

  ### Methods inherited from class org.postgresql.ssl.BaseX509KeyManager

  `chooseClientAlias, chooseServerAlias, getClientAliases, getServerAliases, throwKeyManagerException, validateKeyFilePermissions`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PKCS12KeyManager

    public PKCS12KeyManager(String pkcsFile, CallbackHandler cbh) throws PSQLException
    Throws:
      `PSQLException`

- ## Method Details

  - ### getCertificateChain

    public X509Certificate @Nullable [] getCertificateChain(String alias)

  - ### getPrivateKey

    public @Nullable PrivateKey getPrivateKey(String s)