Class SCertStore

java.lang.Object
jadex.ipc.impl.security.SCertStore

public class SCertStore extends Object
Class for loading / saving the certificate store.
  • Field Details

  • Constructor Details

    • SCertStore

      public SCertStore()
  • Method Details

    • loadCertStore

      public static final Map<String,PemKeyPair> loadCertStore(byte[] storedata)
      Loads the cert store.
      Parameters:
      storedata - Cert store as binary.
      Returns:
      return Certs.
    • saveCertStore

      public static byte[] saveCertStore(Collection<PemKeyPair> certs)
      Saves the cert store.
      Parameters:
      certs - The certs.
      Returns:
      Cert store as binary.
    • allowPlain

      protected static final boolean allowPlain(String name)
      Check if plain name encoding is allowed.
      Parameters:
      name - Name.
      Returns:
      True, if allowed.