Package org.postgresql.ssl

# Class PEMKeyManager

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

All Implemented Interfaces:
  `KeyManager`, `X509KeyManager`

public class PEMKeyManager extends BaseX509KeyManager

- ## Field Summary

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

  `error`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PEMKeyManager(String pemKeyPath, String pemCertsPath, String keyAlgorithm)`

- ## 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

  - ### PEMKeyManager

    public PEMKeyManager(String pemKeyPath, String pemCertsPath, String keyAlgorithm)

- ## Method Details

  - ### getPrivateKey

    public @Nullable PrivateKey getPrivateKey(String s)

  - ### getCertificateChain

    public X509Certificate @Nullable [] getCertificateChain(String alias)