Class JavaKeystoreLoader

java.lang.Object
org.xrpl.xrpl4j.crypto.JavaKeystoreLoader

public final class JavaKeystoreLoader extends Object
A class that assists in loading KeyStore objects from the classpath.
  • Method Details

    • loadFromClasspath

      public static KeyStore loadFromClasspath(String keystoreFileName, char[] keystorePassword)
      Helper method to load a KeyStore from the filesystem.
      Parameters:
      keystoreFileName - The name of the Java KeyStore file to load.
      keystorePassword - An optional password to unlock the JKS file.
      Returns:
      A KeyStore.