Class PemExporter

java.lang.Object
org.eclipse.jetty.quic.quiche.PemExporter

public class PemExporter extends Object
  • Method Details

    • exportTrustStore

      public static Path exportTrustStore(KeyStore keyStore, Path targetFolder) throws Exception
      Returns:
      a temp file that gets deleted on exit
      Throws:
      Exception
    • exportKeyPair

      public static Path[] exportKeyPair(KeyStore keyStore, String alias, char[] keyPassword, Path targetFolder) throws Exception
      Returns:
      [0] is the key file, [1] is the cert file.
      Throws:
      Exception